Interface AccessGrantsLocationConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AccessGrantsLocationConfiguration.Builder,AccessGrantsLocationConfiguration>,SdkBuilder<AccessGrantsLocationConfiguration.Builder,AccessGrantsLocationConfiguration>,SdkPojo
- Enclosing class:
- AccessGrantsLocationConfiguration
public static interface AccessGrantsLocationConfiguration.Builder extends SdkPojo, CopyableBuilder<AccessGrantsLocationConfiguration.Builder,AccessGrantsLocationConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessGrantsLocationConfiguration.Builders3SubPrefix(String s3SubPrefix)TheS3SubPrefixis appended to the location scope creating the grant scope.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
s3SubPrefix
AccessGrantsLocationConfiguration.Builder s3SubPrefix(String s3SubPrefix)
The
S3SubPrefixis 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 locations3://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 locations3://, theS3SubPrefxcan be a <bucket-name>/*, so the full grant scope path would bes3://<bucket-name>/*. Or theS3SubPrefxcan be<bucket-name>/<prefix-name>*, so the full grant scope path would be ors3://<bucket-name>/<prefix-name>*.If the
S3SubPrefixincludes 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.- Parameters:
s3SubPrefix- TheS3SubPrefixis 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 locations3://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 locations3://, theS3SubPrefxcan be a <bucket-name>/*, so the full grant scope path would bes3://<bucket-name>/*. Or theS3SubPrefxcan be<bucket-name>/<prefix-name>*, so the full grant scope path would be ors3://<bucket-name>/<prefix-name>*.If the
S3SubPrefixincludes 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-