@Generated(value="software.amazon.awssdk:codegen") public final class PutContainerPolicyRequest extends MediaStoreRequest implements ToCopyableBuilder<PutContainerPolicyRequest.Builder,PutContainerPolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutContainerPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutContainerPolicyRequest.Builder |
builder() |
String |
containerName()
The name of the container.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policy()
The contents of the policy, which includes the following:
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutContainerPolicyRequest.Builder> |
serializableBuilderClass() |
PutContainerPolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String containerName()
The name of the container.
public final String policy()
The contents of the policy, which includes the following:
One Version tag
One Statement tag that contains the standard tags for the policy.
One Version tag
One Statement tag that contains the standard tags for the policy.
public PutContainerPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutContainerPolicyRequest.Builder,PutContainerPolicyRequest>toBuilder in class MediaStoreRequestpublic static PutContainerPolicyRequest.Builder builder()
public static Class<? extends PutContainerPolicyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.