Interface CreateAccessGrantsLocationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateAccessGrantsLocationResponse.Builder,
,CreateAccessGrantsLocationResponse> S3ControlResponse.Builder
,SdkBuilder<CreateAccessGrantsLocationResponse.Builder,
,CreateAccessGrantsLocationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateAccessGrantsLocationResponse
-
Method Summary
Modifier and TypeMethodDescriptionaccessGrantsLocationArn
(String accessGrantsLocationArn) The Amazon Resource Name (ARN) of the location you are registering.accessGrantsLocationId
(String accessGrantsLocationId) The ID of the registered location to which you are granting access.The date and time when you registered the location.iamRoleArn
(String iamRoleArn) The Amazon Resource Name (ARN) of the IAM role for the registered location.locationScope
(String locationScope) The S3 URI path to the location that you are registering.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
createdAt
The date and time when you registered the location.
- Parameters:
createdAt
- The date and time when you registered the location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessGrantsLocationId
The ID of the registered location to which you are granting access. S3 Access Grants assigns this ID when you register the location. S3 Access Grants assigns the ID
default
to the default locations3://
and assigns an auto-generated ID to other locations that you register.- Parameters:
accessGrantsLocationId
- The ID of the registered location to which you are granting access. S3 Access Grants assigns this ID when you register the location. S3 Access Grants assigns the IDdefault
to the default locations3://
and assigns an auto-generated ID to other locations that you register.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessGrantsLocationArn
The Amazon Resource Name (ARN) of the location you are registering.
- Parameters:
accessGrantsLocationArn
- The Amazon Resource Name (ARN) of the location you are registering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationScope
The S3 URI path to the location that you are registering. The location scope can be the default S3 location
s3://
, the S3 path to a bucket, or the S3 path to a bucket and prefix. A prefix in S3 is a string of characters at the beginning of an object key name used to organize the objects that you store in your S3 buckets. For example, object key names that start with theengineering/
prefix or object key names that start with themarketing/campaigns/
prefix.- Parameters:
locationScope
- The S3 URI path to the location that you are registering. The location scope can be the default S3 locations3://
, the S3 path to a bucket, or the S3 path to a bucket and prefix. A prefix in S3 is a string of characters at the beginning of an object key name used to organize the objects that you store in your S3 buckets. For example, object key names that start with theengineering/
prefix or object key names that start with themarketing/campaigns/
prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoleArn
The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants assumes this role to manage access to the registered location.
- Parameters:
iamRoleArn
- The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants assumes this role to manage access to the registered location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-