public static final class S3AccessPointResource.Builder extends Object
S3AccessPointResource
objects.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
S3AccessPointResource |
build()
Builds an instance of
S3AccessPointResource . |
void |
setAccessPointName(String accessPointName) |
void |
setAccountId(String accountId) |
void |
setPartition(String partition) |
void |
setRegion(String region) |
S3AccessPointResource.Builder |
withAccessPointName(String accessPointName)
The name of the S3 access point.
|
S3AccessPointResource.Builder |
withAccountId(String accountId)
The Amazon Web Services account ID associated with the access point.
|
S3AccessPointResource.Builder |
withParentS3Resource(S3Resource parentS3Resource)
The S3 resource this access point is associated with (contained within).
|
S3AccessPointResource.Builder |
withPartition(String partition)
The Amazon Web Services partition associated with the access point.
|
S3AccessPointResource.Builder |
withRegion(String region)
The Amazon Web Services region associated with the access point.
|
public void setPartition(String partition)
public S3AccessPointResource.Builder withPartition(String partition)
public void setRegion(String region)
public S3AccessPointResource.Builder withRegion(String region)
public void setAccountId(String accountId)
public S3AccessPointResource.Builder withAccountId(String accountId)
public void setAccessPointName(String accessPointName)
public S3AccessPointResource.Builder withAccessPointName(String accessPointName)
public S3AccessPointResource.Builder withParentS3Resource(S3Resource parentS3Resource)
S3OutpostResource
is a valid parent resource types.public S3AccessPointResource build()
S3AccessPointResource
.