Interface GetAccessPointResponse.Builder

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

public static interface GetAccessPointResponse.Builder extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<GetAccessPointResponse.Builder,GetAccessPointResponse>
  • Method Details

    • name

      The name of the specified access point.

      Parameters:
      name - The name of the specified access point.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucket

      The name of the bucket associated with the specified access point.

      Parameters:
      bucket - The name of the bucket associated with the specified access point.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networkOrigin

      GetAccessPointResponse.Builder networkOrigin(String networkOrigin)

      Indicates whether this access point allows access from the public internet. If VpcConfiguration is specified for this access point, then NetworkOrigin is VPC, and the access point doesn't allow access from the public internet. Otherwise, NetworkOrigin is Internet , and the access point allows access from the public internet, subject to the access point and bucket access policies.

      This will always be true for an Amazon S3 on Outposts access point

      Parameters:
      networkOrigin - Indicates whether this access point allows access from the public internet. If VpcConfiguration is specified for this access point, then NetworkOrigin is VPC, and the access point doesn't allow access from the public internet. Otherwise, NetworkOrigin is Internet, and the access point allows access from the public internet, subject to the access point and bucket access policies.

      This will always be true for an Amazon S3 on Outposts access point

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • networkOrigin

      GetAccessPointResponse.Builder networkOrigin(NetworkOrigin networkOrigin)

      Indicates whether this access point allows access from the public internet. If VpcConfiguration is specified for this access point, then NetworkOrigin is VPC, and the access point doesn't allow access from the public internet. Otherwise, NetworkOrigin is Internet , and the access point allows access from the public internet, subject to the access point and bucket access policies.

      This will always be true for an Amazon S3 on Outposts access point

      Parameters:
      networkOrigin - Indicates whether this access point allows access from the public internet. If VpcConfiguration is specified for this access point, then NetworkOrigin is VPC, and the access point doesn't allow access from the public internet. Otherwise, NetworkOrigin is Internet, and the access point allows access from the public internet, subject to the access point and bucket access policies.

      This will always be true for an Amazon S3 on Outposts access point

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • vpcConfiguration

      GetAccessPointResponse.Builder vpcConfiguration(VpcConfiguration vpcConfiguration)

      Contains the virtual private cloud (VPC) configuration for the specified access point.

      This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.

      Parameters:
      vpcConfiguration - Contains the virtual private cloud (VPC) configuration for the specified access point.

      This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcConfiguration

      default GetAccessPointResponse.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)

      Contains the virtual private cloud (VPC) configuration for the specified access point.

      This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.

      This is a convenience method that creates an instance of the VpcConfiguration.Builder avoiding the need to create one manually via VpcConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vpcConfiguration(VpcConfiguration).

      Parameters:
      vpcConfiguration - a consumer that will call methods on VpcConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • publicAccessBlockConfiguration

      GetAccessPointResponse.Builder publicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
      Sets the value of the PublicAccessBlockConfiguration property for this object.
      Parameters:
      publicAccessBlockConfiguration - The new value for the PublicAccessBlockConfiguration property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publicAccessBlockConfiguration

      default GetAccessPointResponse.Builder publicAccessBlockConfiguration(Consumer<PublicAccessBlockConfiguration.Builder> publicAccessBlockConfiguration)
      Sets the value of the PublicAccessBlockConfiguration property for this object. This is a convenience method that creates an instance of the PublicAccessBlockConfiguration.Builder avoiding the need to create one manually via PublicAccessBlockConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to publicAccessBlockConfiguration(PublicAccessBlockConfiguration).

      Parameters:
      publicAccessBlockConfiguration - a consumer that will call methods on PublicAccessBlockConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationDate

      GetAccessPointResponse.Builder creationDate(Instant creationDate)

      The date and time when the specified access point was created.

      Parameters:
      creationDate - The date and time when the specified access point was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alias

      The name or alias of the access point.

      Parameters:
      alias - The name or alias of the access point.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessPointArn

      GetAccessPointResponse.Builder accessPointArn(String accessPointArn)

      The ARN of the access point.

      Parameters:
      accessPointArn - The ARN of the access point.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoints

      The VPC endpoint for the access point.

      Parameters:
      endpoints - The VPC endpoint for the access point.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucketAccountId

      GetAccessPointResponse.Builder bucketAccountId(String bucketAccountId)

      The Amazon Web Services account ID associated with the S3 bucket associated with this access point.

      Parameters:
      bucketAccountId - The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
      Returns:
      Returns a reference to this object so that method calls can be chained together.