@Generated(value="software.amazon.awssdk:codegen") public final class PutAccessPointPolicyRequest extends S3ControlRequest implements ToCopyableBuilder<PutAccessPointPolicyRequest.Builder,PutAccessPointPolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutAccessPointPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The AWS account ID for owner of the bucket associated with the specified access point.
|
static PutAccessPointPolicyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the access point that you want to associate with the specified policy.
|
String |
policy()
The policy that you want to apply to the specified access point.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutAccessPointPolicyRequest.Builder> |
serializableBuilderClass() |
PutAccessPointPolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String accountId()
The AWS account ID for owner of the bucket associated with the specified access point.
public String name()
The name of the access point that you want to associate with the specified policy.
public String policy()
The policy that you want to apply to the specified access point. For more information about access point policies, see Managing Data Access with Amazon S3 Access Points in the Amazon Simple Storage Service Developer Guide.
public PutAccessPointPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutAccessPointPolicyRequest.Builder,PutAccessPointPolicyRequest>toBuilder in class S3ControlRequestpublic static PutAccessPointPolicyRequest.Builder builder()
public static Class<? extends PutAccessPointPolicyRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.