Class S3AccessPointConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<S3AccessPointConfiguration.Builder,
S3AccessPointConfiguration>
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
The access point or multi-region access point policy.builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
The proposedInternet
andVpcConfiguration
to apply to this Amazon S3 access point.The proposedS3PublicAccessBlock
configuration to apply to this Amazon S3 access point or multi-region access point.static Class
<? extends S3AccessPointConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
accessPointPolicy
The access point or multi-region access point policy.
- Returns:
- The access point or multi-region access point policy.
-
publicAccessBlock
The proposed
S3PublicAccessBlock
configuration to apply to this Amazon S3 access point or multi-region access point.- Returns:
- The proposed
S3PublicAccessBlock
configuration to apply to this Amazon S3 access point or multi-region access point.
-
networkOrigin
The proposed
Internet
andVpcConfiguration
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 usesInternet
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.- Returns:
- The proposed
Internet
andVpcConfiguration
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 usesInternet
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.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<S3AccessPointConfiguration.Builder,
S3AccessPointConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-