@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutImageTagMutabilityRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutImageTagMutabilityRequest() |
Modifier and Type | Method and Description |
---|---|
PutImageTagMutabilityRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getImageTagMutability()
The tag mutability setting for the repository.
|
String |
getRegistryId()
The Amazon Web Services account ID associated with the registry that contains the repository in which to update
the image tag mutability settings.
|
String |
getRepositoryName()
The name of the repository in which to update the image tag mutability settings.
|
int |
hashCode() |
void |
setImageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
|
void |
setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository in which to update
the image tag mutability settings.
|
void |
setRepositoryName(String repositoryName)
The name of the repository in which to update the image tag mutability settings.
|
String |
toString()
Returns a string representation of this object.
|
PutImageTagMutabilityRequest |
withImageTagMutability(ImageTagMutability imageTagMutability)
The tag mutability setting for the repository.
|
PutImageTagMutabilityRequest |
withImageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
|
PutImageTagMutabilityRequest |
withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository in which to update
the image tag mutability settings.
|
PutImageTagMutabilityRequest |
withRepositoryName(String repositoryName)
The name of the repository in which to update the image tag mutability settings.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRegistryId(String registryId)
The Amazon Web Services 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.
registryId
- The Amazon Web Services 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 String getRegistryId()
The Amazon Web Services 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 PutImageTagMutabilityRequest withRegistryId(String registryId)
The Amazon Web Services 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.
registryId
- The Amazon Web Services 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 void setRepositoryName(String repositoryName)
The name of the repository in which to update the image tag mutability settings.
repositoryName
- The name of the repository in which to update the image tag mutability settings.public String getRepositoryName()
The name of the repository in which to update the image tag mutability settings.
public PutImageTagMutabilityRequest withRepositoryName(String repositoryName)
The name of the repository in which to update the image tag mutability settings.
repositoryName
- The name of the repository in which to update the image tag mutability settings.public void setImageTagMutability(String 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.
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.ImageTagMutability
public String getImageTagMutability()
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.
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.ImageTagMutability
public PutImageTagMutabilityRequest withImageTagMutability(String 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.
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.ImageTagMutability
public PutImageTagMutabilityRequest withImageTagMutability(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.
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.ImageTagMutability
public String toString()
toString
in class Object
Object.toString()
public PutImageTagMutabilityRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()