Interface UpdateAccessGrantsLocationRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateAccessGrantsLocationRequest.Builder,UpdateAccessGrantsLocationRequest>, S3ControlRequest.Builder, SdkBuilder<UpdateAccessGrantsLocationRequest.Builder,UpdateAccessGrantsLocationRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
UpdateAccessGrantsLocationRequest

public static interface UpdateAccessGrantsLocationRequest.Builder extends S3ControlRequest.Builder, SdkPojo, CopyableBuilder<UpdateAccessGrantsLocationRequest.Builder,UpdateAccessGrantsLocationRequest>
  • Method Details

    • accountId

      The ID of the Amazon Web Services account that is making this request.

      Parameters:
      accountId - The ID of the Amazon Web Services account that is making this request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessGrantsLocationId

      UpdateAccessGrantsLocationRequest.Builder accessGrantsLocationId(String 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 default to the default location s3:// 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 default to the default location s3:// and assigns an auto-generated ID to other locations that you register.

      If you are passing the default location, you cannot create an access grant for the entire default location. You must also specify a bucket or a bucket and prefix in the Subprefix field.

      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 ID default to the default location s3:// 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 default to the default location s3:// and assigns an auto-generated ID to other locations that you register.

      If you are passing the default location, you cannot create an access grant for the entire default location. You must also specify a bucket or a bucket and prefix in the Subprefix field.

      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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.