Class S3AccessPointBuilder
- java.lang.Object
-
- software.amazon.awssdk.services.s3.internal.resource.S3AccessPointBuilder
-
public class S3AccessPointBuilder extends Object
This class is used to construct an endpoint host for an S3 access point.
-
-
Constructor Summary
Constructors Constructor Description S3AccessPointBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description S3AccessPointBuilderaccessPointName(String accessPointName)The S3 Access Point name.S3AccessPointBuilderaccountId(String accountId)The ID of the AWS Account the Access Point is associated with.static S3AccessPointBuildercreate()Create a new instance of this builder class.S3AccessPointBuilderdomain(String domain)The TLD for the access point.S3AccessPointBuilderdualstackEnabled(Boolean dualstackEnabled)Enable DualStack endpoint.S3AccessPointBuilderendpointOverride(URI endpointOverride)The endpoint override configured on the client (null if no endpoint override was set).S3AccessPointBuilderfipsEnabled(Boolean fipsEnabled)Enable fips in endpoint.S3AccessPointBuilderprotocol(String protocol)The protocol to be used with the endpoint URI.S3AccessPointBuilderregion(String region)The AWS region hosting the Access Point.URItoUri()Generate an endpoint URI with no path that maps to the Access Point information stored in this builder.
-
-
-
Method Detail
-
create
public static S3AccessPointBuilder create()
Create a new instance of this builder class.
-
endpointOverride
public S3AccessPointBuilder endpointOverride(URI endpointOverride)
The endpoint override configured on the client (null if no endpoint override was set).
-
dualstackEnabled
public S3AccessPointBuilder dualstackEnabled(Boolean dualstackEnabled)
Enable DualStack endpoint.
-
fipsEnabled
public S3AccessPointBuilder fipsEnabled(Boolean fipsEnabled)
Enable fips in endpoint.
-
accessPointName
public S3AccessPointBuilder accessPointName(String accessPointName)
The S3 Access Point name.
-
region
public S3AccessPointBuilder region(String region)
The AWS region hosting the Access Point.
-
accountId
public S3AccessPointBuilder accountId(String accountId)
The ID of the AWS Account the Access Point is associated with.
-
protocol
public S3AccessPointBuilder protocol(String protocol)
The protocol to be used with the endpoint URI.
-
domain
public S3AccessPointBuilder domain(String domain)
The TLD for the access point.
-
toUri
public URI toUri()
Generate an endpoint URI with no path that maps to the Access Point information stored in this builder.
-
-