#[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 ==.impl StructuralPartialEq for AccessGrantsLocationConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AccessGrantsLocationConfigurationBuilder
impl RefUnwindSafe for AccessGrantsLocationConfigurationBuilder
impl Send for AccessGrantsLocationConfigurationBuilder
impl Sync for AccessGrantsLocationConfigurationBuilder
impl Unpin for AccessGrantsLocationConfigurationBuilder
impl UnwindSafe for AccessGrantsLocationConfigurationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more