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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AccessPoint.BuilderaccessPointArn(String accessPointArn)The ARN for the access point.AccessPoint.Builderalias(String alias)The name or alias of the access point.AccessPoint.Builderbucket(String bucket)The name of the bucket associated with this access point.AccessPoint.BuilderbucketAccountId(String bucketAccountId)The Amazon Web Services account ID associated with the S3 bucket associated with this access point.AccessPoint.Buildername(String name)The name of this access point.AccessPoint.BuildernetworkOrigin(String networkOrigin)Indicates whether this access point allows access from the public internet.AccessPoint.BuildernetworkOrigin(NetworkOrigin networkOrigin)Indicates whether this access point allows access from the public internet.default AccessPoint.BuildervpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)The virtual private cloud (VPC) configuration for this access point, if one exists.AccessPoint.BuildervpcConfiguration(VpcConfiguration vpcConfiguration)The virtual private cloud (VPC) configuration for this access point, if one exists.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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
VpcConfigurationis specified for this access point, thenNetworkOriginisVPC, and the access point doesn't allow access from the public internet. Otherwise,NetworkOriginisInternet, 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. IfVpcConfigurationis specified for this access point, thenNetworkOriginisVPC, and the access point doesn't allow access from the public internet. Otherwise,NetworkOriginisInternet, 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
VpcConfigurationis specified for this access point, thenNetworkOriginisVPC, and the access point doesn't allow access from the public internet. Otherwise,NetworkOriginisInternet, 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. IfVpcConfigurationis specified for this access point, thenNetworkOriginisVPC, and the access point doesn't allow access from the public internet. Otherwise,NetworkOriginisInternet, 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.
-
vpcConfiguration
default AccessPoint.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration)
The virtual private cloud (VPC) configuration for this access point, if one exists.
This is a convenience method that creates an instance of theThis element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.
VpcConfiguration.Builderavoiding the need to create one manually viaVpcConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfiguration(VpcConfiguration).- Parameters:
vpcConfiguration- a consumer that will call methods onVpcConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfiguration(VpcConfiguration)
-
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.
-
-