@Generated(value="software.amazon.awssdk:codegen") public final class PutRepositoryPermissionsPolicyRequest extends CodeartifactRequest implements ToCopyableBuilder<PutRepositoryPermissionsPolicyRequest.Builder,PutRepositoryPermissionsPolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutRepositoryPermissionsPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutRepositoryPermissionsPolicyRequest.Builder |
builder() |
String |
domain()
The name of the domain containing the repository to set the resource policy on.
|
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
repository.
|
String |
policyRevision()
Sets the revision of the resource policy that specifies permissions to access the repository.
|
String |
repository()
The name of the repository to set the resource policy on.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutRepositoryPermissionsPolicyRequest.Builder> |
serializableBuilderClass() |
PutRepositoryPermissionsPolicyRequest.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 containing the repository to set the resource policy on.
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 repository()
The name of the repository to set the resource policy on.
public final String policyRevision()
Sets the revision of the resource policy that specifies permissions to access the repository. This revision is used for optimistic locking, which prevents others from overwriting your changes to the repository'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 repository.
public PutRepositoryPermissionsPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutRepositoryPermissionsPolicyRequest.Builder,PutRepositoryPermissionsPolicyRequest>toBuilder in class CodeartifactRequestpublic static PutRepositoryPermissionsPolicyRequest.Builder builder()
public static Class<? extends PutRepositoryPermissionsPolicyRequest.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.