Interface UpdateAccessGrantsLocationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAccessGrantsLocationRequest.Builder,,UpdateAccessGrantsLocationRequest> S3ControlRequest.Builder,SdkBuilder<UpdateAccessGrantsLocationRequest.Builder,,UpdateAccessGrantsLocationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAccessGrantsLocationRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccessGrantsLocationId(String accessGrantsLocationId) The ID of the registered location that you are updating.The Amazon Web Services account ID of the S3 Access Grants instance.iamRoleArn(String iamRoleArn) The Amazon Resource Name (ARN) of the IAM role for the registered location.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accountId
The Amazon Web Services account ID of the S3 Access Grants instance.
- Parameters:
accountId- The Amazon Web Services account ID of the S3 Access Grants instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessGrantsLocationId
The ID of the registered location that you are updating. 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.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.If you are passing the
defaultlocation, you cannot create an access grant for the entire default location. You must also specify a bucket or a bucket and prefix in theSubprefixfield.- Parameters:
accessGrantsLocationId- The ID of the registered location that you are updating. 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.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.If you are passing the
defaultlocation, you cannot create an access grant for the entire default location. You must also specify a bucket or a bucket and prefix in theSubprefixfield.- 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.
-
overrideConfiguration
UpdateAccessGrantsLocationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAccessGrantsLocationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-