#[non_exhaustive]pub struct AccessGrantsLocationConfigurationBuilder { /* private fields */ }Expand description
A builder for AccessGrantsLocationConfiguration.
Implementations§
source§impl AccessGrantsLocationConfigurationBuilder
impl AccessGrantsLocationConfigurationBuilder
sourcepub fn s3_sub_prefix(self, input: impl Into<String>) -> Self
pub fn s3_sub_prefix(self, input: impl Into<String>) -> Self
The S3SubPrefix is appended to the location scope creating the grant scope. Use this field to narrow the scope of the grant to a subset of the location scope. This field is required if the location scope is the default location s3:// because you cannot create a grant for all of your S3 data in the Region and must narrow the scope. For example, if the location scope is the default location s3://, the S3SubPrefx can be a s3://. Or the
S3SubPrefx can be
, so the full grant scope path would be or
s3://.
If the S3SubPrefix includes a prefix, append the wildcard character * after the prefix to indicate that you want to include all object key names in the bucket that start with that prefix.
sourcepub fn set_s3_sub_prefix(self, input: Option<String>) -> Self
pub fn set_s3_sub_prefix(self, input: Option<String>) -> Self
The S3SubPrefix is appended to the location scope creating the grant scope. Use this field to narrow the scope of the grant to a subset of the location scope. This field is required if the location scope is the default location s3:// because you cannot create a grant for all of your S3 data in the Region and must narrow the scope. For example, if the location scope is the default location s3://, the S3SubPrefx can be a s3://. Or the
S3SubPrefx can be
, so the full grant scope path would be or
s3://.
If the S3SubPrefix includes a prefix, append the wildcard character * after the prefix to indicate that you want to include all object key names in the bucket that start with that prefix.
sourcepub fn get_s3_sub_prefix(&self) -> &Option<String>
pub fn get_s3_sub_prefix(&self) -> &Option<String>
The S3SubPrefix is appended to the location scope creating the grant scope. Use this field to narrow the scope of the grant to a subset of the location scope. This field is required if the location scope is the default location s3:// because you cannot create a grant for all of your S3 data in the Region and must narrow the scope. For example, if the location scope is the default location s3://, the S3SubPrefx can be a s3://. Or the
S3SubPrefx can be
, so the full grant scope path would be or
s3://.
If the S3SubPrefix includes a prefix, append the wildcard character * after the prefix to indicate that you want to include all object key names in the bucket that start with that prefix.
sourcepub fn build(self) -> AccessGrantsLocationConfiguration
pub fn build(self) -> AccessGrantsLocationConfiguration
Consumes the builder and constructs a AccessGrantsLocationConfiguration.
Trait Implementations§
source§impl Clone for AccessGrantsLocationConfigurationBuilder
impl Clone for AccessGrantsLocationConfigurationBuilder
source§fn clone(&self) -> AccessGrantsLocationConfigurationBuilder
fn clone(&self) -> AccessGrantsLocationConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AccessGrantsLocationConfigurationBuilder
impl Default for AccessGrantsLocationConfigurationBuilder
source§fn default() -> AccessGrantsLocationConfigurationBuilder
fn default() -> AccessGrantsLocationConfigurationBuilder
source§impl PartialEq for AccessGrantsLocationConfigurationBuilder
impl PartialEq for AccessGrantsLocationConfigurationBuilder
source§fn eq(&self, other: &AccessGrantsLocationConfigurationBuilder) -> bool
fn eq(&self, other: &AccessGrantsLocationConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.