Interface AccessPoint.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AccessPoint.Builder,AccessPoint>, SdkBuilder<AccessPoint.Builder,AccessPoint>, SdkPojo
Enclosing class:
AccessPoint

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

    • name

      The name of this access point.

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

      AccessPoint.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.

      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • networkOrigin

      AccessPoint.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.

      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • vpcConfiguration

      AccessPoint.Builder vpcConfiguration(VpcConfiguration vpcConfiguration)

      The virtual private cloud (VPC) configuration for this access point, if one exists.

      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 - The virtual private cloud (VPC) configuration for this access point, if one exists.

      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 AccessPoint.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)

      The virtual private cloud (VPC) configuration for this access point, if one exists.

      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:
    • bucket

      AccessPoint.Builder bucket(String bucket)

      The name of the bucket associated with this access point.

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

      AccessPoint.Builder accessPointArn(String accessPointArn)

      The ARN for the access point.

      Parameters:
      accessPointArn - The ARN for the access point.
      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.
    • bucketAccountId

      AccessPoint.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.