@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3AccessPointConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for an Amazon S3 access point or multi-region access point for the bucket. You can propose up to 10 access points or multi-region access points per bucket. If the proposed Amazon S3 access point configuration is for an existing bucket, the access preview uses the proposed access point configuration in place of the existing access points. To propose an access point without a policy, you can provide an empty string as the access point policy. For more information, see Creating access points. For more information about access point policy limits, see Access points restrictions and limitations.
Constructor and Description |
---|
S3AccessPointConfiguration() |
Modifier and Type | Method and Description |
---|---|
S3AccessPointConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAccessPointPolicy()
The access point or multi-region access point policy.
|
NetworkOriginConfiguration |
getNetworkOrigin()
The proposed
Internet and VpcConfiguration to apply to this Amazon S3 access point. |
S3PublicAccessBlockConfiguration |
getPublicAccessBlock()
The proposed
S3PublicAccessBlock configuration to apply to this Amazon S3 access point or
multi-region access point. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessPointPolicy(String accessPointPolicy)
The access point or multi-region access point policy.
|
void |
setNetworkOrigin(NetworkOriginConfiguration networkOrigin)
The proposed
Internet and VpcConfiguration to apply to this Amazon S3 access point. |
void |
setPublicAccessBlock(S3PublicAccessBlockConfiguration publicAccessBlock)
The proposed
S3PublicAccessBlock configuration to apply to this Amazon S3 access point or
multi-region access point. |
String |
toString()
Returns a string representation of this object.
|
S3AccessPointConfiguration |
withAccessPointPolicy(String accessPointPolicy)
The access point or multi-region access point policy.
|
S3AccessPointConfiguration |
withNetworkOrigin(NetworkOriginConfiguration networkOrigin)
The proposed
Internet and VpcConfiguration to apply to this Amazon S3 access point. |
S3AccessPointConfiguration |
withPublicAccessBlock(S3PublicAccessBlockConfiguration publicAccessBlock)
The proposed
S3PublicAccessBlock configuration to apply to this Amazon S3 access point or
multi-region access point. |
public void setAccessPointPolicy(String accessPointPolicy)
The access point or multi-region access point policy.
accessPointPolicy
- The access point or multi-region access point policy.public String getAccessPointPolicy()
The access point or multi-region access point policy.
public S3AccessPointConfiguration withAccessPointPolicy(String accessPointPolicy)
The access point or multi-region access point policy.
accessPointPolicy
- The access point or multi-region access point policy.public void setPublicAccessBlock(S3PublicAccessBlockConfiguration publicAccessBlock)
The proposed S3PublicAccessBlock
configuration to apply to this Amazon S3 access point or
multi-region access point.
publicAccessBlock
- The proposed S3PublicAccessBlock
configuration to apply to this Amazon S3 access point or
multi-region access point.public S3PublicAccessBlockConfiguration getPublicAccessBlock()
The proposed S3PublicAccessBlock
configuration to apply to this Amazon S3 access point or
multi-region access point.
S3PublicAccessBlock
configuration to apply to this Amazon S3 access point or
multi-region access point.public S3AccessPointConfiguration withPublicAccessBlock(S3PublicAccessBlockConfiguration publicAccessBlock)
The proposed S3PublicAccessBlock
configuration to apply to this Amazon S3 access point or
multi-region access point.
publicAccessBlock
- The proposed S3PublicAccessBlock
configuration to apply to this Amazon S3 access point or
multi-region access point.public void setNetworkOrigin(NetworkOriginConfiguration networkOrigin)
The proposed Internet
and VpcConfiguration
to apply to this Amazon S3 access point.
VpcConfiguration
does not apply to multi-region access points. If the access preview is for a new
resource and neither is specified, the access preview uses Internet
for the network origin. If the
access preview is for an existing resource and neither is specified, the access preview uses the exiting network
origin.
networkOrigin
- The proposed Internet
and VpcConfiguration
to apply to this Amazon S3 access
point. VpcConfiguration
does not apply to multi-region access points. If the access preview
is for a new resource and neither is specified, the access preview uses Internet
for the
network origin. If the access preview is for an existing resource and neither is specified, the access
preview uses the exiting network origin.public NetworkOriginConfiguration getNetworkOrigin()
The proposed Internet
and VpcConfiguration
to apply to this Amazon S3 access point.
VpcConfiguration
does not apply to multi-region access points. If the access preview is for a new
resource and neither is specified, the access preview uses Internet
for the network origin. If the
access preview is for an existing resource and neither is specified, the access preview uses the exiting network
origin.
Internet
and VpcConfiguration
to apply to this Amazon S3 access
point. VpcConfiguration
does not apply to multi-region access points. If the access preview
is for a new resource and neither is specified, the access preview uses Internet
for the
network origin. If the access preview is for an existing resource and neither is specified, the access
preview uses the exiting network origin.public S3AccessPointConfiguration withNetworkOrigin(NetworkOriginConfiguration networkOrigin)
The proposed Internet
and VpcConfiguration
to apply to this Amazon S3 access point.
VpcConfiguration
does not apply to multi-region access points. If the access preview is for a new
resource and neither is specified, the access preview uses Internet
for the network origin. If the
access preview is for an existing resource and neither is specified, the access preview uses the exiting network
origin.
networkOrigin
- The proposed Internet
and VpcConfiguration
to apply to this Amazon S3 access
point. VpcConfiguration
does not apply to multi-region access points. If the access preview
is for a new resource and neither is specified, the access preview uses Internet
for the
network origin. If the access preview is for an existing resource and neither is specified, the access
preview uses the exiting network origin.public String toString()
toString
in class Object
Object.toString()
public S3AccessPointConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.