@Generated(value="software.amazon.awssdk:codegen") public final class PutImageTagMutabilityRequest extends EcrRequest implements ToCopyableBuilder<PutImageTagMutabilityRequest.Builder,PutImageTagMutabilityRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutImageTagMutabilityRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutImageTagMutabilityRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ImageTagMutability |
imageTagMutability()
The tag mutability setting for the repository.
|
String |
imageTagMutabilityAsString()
The tag mutability setting for the repository.
|
String |
registryId()
The AWS account ID associated with the registry that contains the repository in which to update the image tag
mutability settings.
|
String |
repositoryName()
The name of the repository in which to update the image tag mutability settings.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutImageTagMutabilityRequest.Builder> |
serializableBuilderClass() |
PutImageTagMutabilityRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String registryId()
The AWS account ID associated with the registry that contains the repository in which to update the image tag mutability settings. If you do not specify a registry, the default registry is assumed.
public final String repositoryName()
The name of the repository in which to update the image tag mutability settings.
public final ImageTagMutability imageTagMutability()
The tag mutability setting for the repository. If MUTABLE is specified, image tags can be
overwritten. If IMMUTABLE is specified, all image tags within the repository will be immutable which
will prevent them from being overwritten.
If the service returns an enum value that is not available in the current SDK version,
imageTagMutability will return ImageTagMutability.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from imageTagMutabilityAsString().
MUTABLE is specified, image tags can be
overwritten. If IMMUTABLE is specified, all image tags within the repository will be
immutable which will prevent them from being overwritten.ImageTagMutabilitypublic final String imageTagMutabilityAsString()
The tag mutability setting for the repository. If MUTABLE is specified, image tags can be
overwritten. If IMMUTABLE is specified, all image tags within the repository will be immutable which
will prevent them from being overwritten.
If the service returns an enum value that is not available in the current SDK version,
imageTagMutability will return ImageTagMutability.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from imageTagMutabilityAsString().
MUTABLE is specified, image tags can be
overwritten. If IMMUTABLE is specified, all image tags within the repository will be
immutable which will prevent them from being overwritten.ImageTagMutabilitypublic PutImageTagMutabilityRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutImageTagMutabilityRequest.Builder,PutImageTagMutabilityRequest>toBuilder in class EcrRequestpublic static PutImageTagMutabilityRequest.Builder builder()
public static Class<? extends PutImageTagMutabilityRequest.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 © 2021. All rights reserved.