Interface AccessPoint.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccessPoint.Builder,
,AccessPoint> SdkBuilder<AccessPoint.Builder,
,AccessPoint> SdkPojo
- Enclosing class:
AccessPoint
-
Method Summary
Modifier and TypeMethodDescriptionaccessPointArn
(String accessPointArn) The ARN for the access point.The name or alias of the access point.The name of the bucket associated with this access point.bucketAccountId
(String bucketAccountId) The Amazon Web Services account ID associated with the S3 bucket associated with this access point.The name of this access point.networkOrigin
(String networkOrigin) Indicates whether this access point allows access from the public internet.networkOrigin
(NetworkOrigin networkOrigin) Indicates whether this access point allows access from the public internet.default AccessPoint.Builder
vpcConfiguration
(Consumer<VpcConfiguration.Builder> vpcConfiguration) The virtual private cloud (VPC) configuration for this access point, if one exists.vpcConfiguration
(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 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
Indicates whether this access point allows access from the public internet. If
VpcConfiguration
is specified for this access point, thenNetworkOrigin
isVPC
, and the access point doesn't allow access from the public internet. Otherwise,NetworkOrigin
isInternet
, 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. IfVpcConfiguration
is specified for this access point, thenNetworkOrigin
isVPC
, and the access point doesn't allow access from the public internet. Otherwise,NetworkOrigin
isInternet
, 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
Indicates whether this access point allows access from the public internet. If
VpcConfiguration
is specified for this access point, thenNetworkOrigin
isVPC
, and the access point doesn't allow access from the public internet. Otherwise,NetworkOrigin
isInternet
, 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. IfVpcConfiguration
is specified for this access point, thenNetworkOrigin
isVPC
, and the access point doesn't allow access from the public internet. Otherwise,NetworkOrigin
isInternet
, 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
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
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.
VpcConfiguration.Builder
avoiding the need to create one manually viaVpcConfiguration.builder()
.When the
Consumer
completes,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:
-
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
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
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.
-