Interface UpdateAccessGrantsLocationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateAccessGrantsLocationResponse.Builder,UpdateAccessGrantsLocationResponse>,S3ControlResponse.Builder,SdkBuilder<UpdateAccessGrantsLocationResponse.Builder,UpdateAccessGrantsLocationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateAccessGrantsLocationResponse
public static interface UpdateAccessGrantsLocationResponse.Builder extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<UpdateAccessGrantsLocationResponse.Builder,UpdateAccessGrantsLocationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateAccessGrantsLocationResponse.BuilderaccessGrantsLocationArn(String accessGrantsLocationArn)The Amazon Resource Name (ARN) of the registered location that you are updating.UpdateAccessGrantsLocationResponse.BuilderaccessGrantsLocationId(String accessGrantsLocationId)The ID of the registered location to which you are granting access.UpdateAccessGrantsLocationResponse.BuildercreatedAt(Instant createdAt)The date and time when you registered the location.UpdateAccessGrantsLocationResponse.BuilderiamRoleArn(String iamRoleArn)The Amazon Resource Name (ARN) of the IAM role of the registered location.UpdateAccessGrantsLocationResponse.BuilderlocationScope(String locationScope)The S3 URI path of the location that you are updating.-
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
UpdateAccessGrantsLocationResponse.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
UpdateAccessGrantsLocationResponse.Builder accessGrantsLocationId(String accessGrantsLocationId)
The ID of the registered location to which you are granting access. S3 Access Grants assigned this ID when you registered 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 assigned this ID when you registered 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
UpdateAccessGrantsLocationResponse.Builder accessGrantsLocationArn(String accessGrantsLocationArn)
The Amazon Resource Name (ARN) of the registered location that you are updating.
- Parameters:
accessGrantsLocationArn- The Amazon Resource Name (ARN) of the registered location that you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locationScope
UpdateAccessGrantsLocationResponse.Builder locationScope(String locationScope)
The S3 URI path of the location that you are updating. You cannot update the scope of the registered location. The location scope can be the default S3 location
s3://, the S3 path to a buckets3://<bucket>, or the S3 path to a bucket and prefixs3://<bucket>/<prefix>.- Parameters:
locationScope- The S3 URI path of the location that you are updating. You cannot update the scope of the registered location. The location scope can be the default S3 locations3://, the S3 path to a buckets3://<bucket>, or the S3 path to a bucket and prefixs3://<bucket>/<prefix>.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoleArn
UpdateAccessGrantsLocationResponse.Builder iamRoleArn(String iamRoleArn)
The Amazon Resource Name (ARN) of the IAM role of 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 of 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.
-
-