@Generated(value="software.amazon.awssdk:codegen") public final class PutDomainPermissionsPolicyRequest extends CodeartifactRequest implements ToCopyableBuilder<PutDomainPermissionsPolicyRequest.Builder,PutDomainPermissionsPolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutDomainPermissionsPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutDomainPermissionsPolicyRequest.Builder |
builder() |
String |
domain()
The name of the domain on which to set the resource policy.
|
String |
domainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policyDocument()
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided
domain.
|
String |
policyRevision()
The current revision of the resource policy to be set.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutDomainPermissionsPolicyRequest.Builder> |
serializableBuilderClass() |
PutDomainPermissionsPolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domain()
The name of the domain on which to set the resource policy.
public final String domainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
public final String policyRevision()
The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
public final String policyDocument()
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.
public PutDomainPermissionsPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutDomainPermissionsPolicyRequest.Builder,PutDomainPermissionsPolicyRequest>toBuilder in class CodeartifactRequestpublic static PutDomainPermissionsPolicyRequest.Builder builder()
public static Class<? extends PutDomainPermissionsPolicyRequest.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.