Class PutDomainPermissionsPolicyRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codeartifact.model.CodeartifactRequest
-
- software.amazon.awssdk.services.codeartifact.model.PutDomainPermissionsPolicyRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutDomainPermissionsPolicyRequest.Builder,PutDomainPermissionsPolicyRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutDomainPermissionsPolicyRequest extends CodeartifactRequest implements ToCopyableBuilder<PutDomainPermissionsPolicyRequest.Builder,PutDomainPermissionsPolicyRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutDomainPermissionsPolicyRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutDomainPermissionsPolicyRequest.Builderbuilder()Stringdomain()The name of the domain on which to set the resource policy.StringdomainOwner()The 12-digit account number of the Amazon Web Services account that owns the domain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpolicyDocument()A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.StringpolicyRevision()The current revision of the resource policy to be set.List<SdkField<?>>sdkFields()static Class<? extends PutDomainPermissionsPolicyRequest.Builder>serializableBuilderClass()PutDomainPermissionsPolicyRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
domain
public final String domain()
The name of the domain on which to set the resource policy.
- Returns:
- The name of the domain on which to set the resource policy.
-
domainOwner
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.
- Returns:
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
-
policyRevision
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.
- Returns:
- 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.
-
policyDocument
public final String policyDocument()
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.
- Returns:
- A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.
-
toBuilder
public PutDomainPermissionsPolicyRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutDomainPermissionsPolicyRequest.Builder,PutDomainPermissionsPolicyRequest>- Specified by:
toBuilderin classCodeartifactRequest
-
builder
public static PutDomainPermissionsPolicyRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutDomainPermissionsPolicyRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-