Interface AccessPoint.Builder

    • Method Detail

      • name

        AccessPoint.Builder name​(String 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, NetworkOrigin
      • 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:
        NetworkOrigin, NetworkOrigin
      • 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.
      • 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

        AccessPoint.Builder alias​(String 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.