Interface CreateAccessGrantsLocationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateAccessGrantsLocationResponse.Builder,CreateAccessGrantsLocationResponse>,S3ControlResponse.Builder,SdkBuilder<CreateAccessGrantsLocationResponse.Builder,CreateAccessGrantsLocationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateAccessGrantsLocationResponse
public static interface CreateAccessGrantsLocationResponse.Builder extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<CreateAccessGrantsLocationResponse.Builder,CreateAccessGrantsLocationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateAccessGrantsLocationResponse.BuilderaccessGrantsLocationArn(String accessGrantsLocationArn)The Amazon Resource Name (ARN) of the location you are registering.CreateAccessGrantsLocationResponse.BuilderaccessGrantsLocationId(String accessGrantsLocationId)The ID of the registered location to which you are granting access.CreateAccessGrantsLocationResponse.BuildercreatedAt(Instant createdAt)The date and time when you registered the location.CreateAccessGrantsLocationResponse.BuilderiamRoleArn(String iamRoleArn)The Amazon Resource Name (ARN) of the IAM role for the registered location.CreateAccessGrantsLocationResponse.BuilderlocationScope(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 Detail
-
createdAt
CreateAccessGrantsLocationResponse.Builder createdAt(Instant 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
CreateAccessGrantsLocationResponse.Builder accessGrantsLocationId(String 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
defaultto 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 IDdefaultto 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
CreateAccessGrantsLocationResponse.Builder accessGrantsLocationArn(String 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
CreateAccessGrantsLocationResponse.Builder locationScope(String 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
CreateAccessGrantsLocationResponse.Builder iamRoleArn(String 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.
-
-