public class S3AccessPointBuilder extends Object
Modifier and Type | Method and Description |
---|---|
static S3AccessPointBuilder |
create()
Create a new instance of this builder class.
|
void |
setAccessPointName(String accessPointName)
The S3 Access Point name.
|
void |
setAccountId(String accountId)
The ID of the Amazon Web Services Account the Access Point is associated with.
|
void |
setDomain(String domain)
The TLD for the access point.
|
void |
setDualstackEnabled(Boolean dualstackEnabled)
Enable DualStack endpoint.
|
void |
setEndpointOverride(URI endpointOverride) |
void |
setFipsEnabled(Boolean fipsEnabled)
Enable fips in endpoint.
|
void |
setProtocol(String protocol)
The protocol to be used with the endpoint URI.
|
void |
setRegion(String region)
The Amazon Web Services region hosting the Access Point.
|
URI |
toURI()
Generate an endpoint URI with no path that maps to the Access Point information stored in this builder.
|
S3AccessPointBuilder |
withAccessPointName(String accessPointName) |
S3AccessPointBuilder |
withAccountId(String accountId) |
S3AccessPointBuilder |
withDomain(String domain) |
S3AccessPointBuilder |
withDualstackEnabled(Boolean dualstackEnabled) |
S3AccessPointBuilder |
withEndpointOverride(URI endpointOverride) |
S3AccessPointBuilder |
withFipsEnabled(Boolean fipsEnabled) |
S3AccessPointBuilder |
withProtocol(String protocol) |
S3AccessPointBuilder |
withRegion(String region) |
public static S3AccessPointBuilder create()
public void setEndpointOverride(URI endpointOverride)
public S3AccessPointBuilder withEndpointOverride(URI endpointOverride)
public void setDualstackEnabled(Boolean dualstackEnabled)
public S3AccessPointBuilder withDualstackEnabled(Boolean dualstackEnabled)
public void setFipsEnabled(Boolean fipsEnabled)
public S3AccessPointBuilder withFipsEnabled(Boolean fipsEnabled)
public void setAccessPointName(String accessPointName)
public S3AccessPointBuilder withAccessPointName(String accessPointName)
public void setRegion(String region)
public S3AccessPointBuilder withRegion(String region)
public void setAccountId(String accountId)
public S3AccessPointBuilder withAccountId(String accountId)
public void setProtocol(String protocol)
public S3AccessPointBuilder withProtocol(String protocol)
public void setDomain(String domain)
public S3AccessPointBuilder withDomain(String domain)
public URI toURI()
Copyright © 2022. All rights reserved.