Interface GetAccessGrantsLocationResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetAccessGrantsLocationResponse.Builder,GetAccessGrantsLocationResponse>, S3ControlResponse.Builder, SdkBuilder<GetAccessGrantsLocationResponse.Builder,GetAccessGrantsLocationResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetAccessGrantsLocationResponse

public static interface GetAccessGrantsLocationResponse.Builder extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<GetAccessGrantsLocationResponse.Builder,GetAccessGrantsLocationResponse>
  • 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

      GetAccessGrantsLocationResponse.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 default to the default location s3:// 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 ID default to the default location s3:// 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

      GetAccessGrantsLocationResponse.Builder accessGrantsLocationArn(String accessGrantsLocationArn)

      The Amazon Resource Name (ARN) of the registered location.

      Parameters:
      accessGrantsLocationArn - The Amazon Resource Name (ARN) of the registered location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • locationScope

      GetAccessGrantsLocationResponse.Builder locationScope(String locationScope)

      The S3 URI path to the registered location. 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 the engineering/ prefix or object key names that start with the marketing/campaigns/ prefix.

      Parameters:
      locationScope - The S3 URI path to the registered location. 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 the engineering/ prefix or object key names that start with the marketing/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.