@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegistryAlias extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the aliases for a public registry. A public registry is given an alias upon creation but a custom alias can be set using the Amazon ECR console. For more information, see Registries in the Amazon Elastic Container Registry User Guide.
| Constructor and Description |
|---|
RegistryAlias() |
| Modifier and Type | Method and Description |
|---|---|
RegistryAlias |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDefaultRegistryAlias()
Whether or not the registry alias is the default alias for the registry.
|
String |
getName()
The name of the registry alias.
|
Boolean |
getPrimaryRegistryAlias()
Whether or not the registry alias is the primary alias for the registry.
|
String |
getStatus()
The status of the registry alias.
|
int |
hashCode() |
Boolean |
isDefaultRegistryAlias()
Whether or not the registry alias is the default alias for the registry.
|
Boolean |
isPrimaryRegistryAlias()
Whether or not the registry alias is the primary alias for the registry.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDefaultRegistryAlias(Boolean defaultRegistryAlias)
Whether or not the registry alias is the default alias for the registry.
|
void |
setName(String name)
The name of the registry alias.
|
void |
setPrimaryRegistryAlias(Boolean primaryRegistryAlias)
Whether or not the registry alias is the primary alias for the registry.
|
void |
setStatus(String status)
The status of the registry alias.
|
String |
toString()
Returns a string representation of this object.
|
RegistryAlias |
withDefaultRegistryAlias(Boolean defaultRegistryAlias)
Whether or not the registry alias is the default alias for the registry.
|
RegistryAlias |
withName(String name)
The name of the registry alias.
|
RegistryAlias |
withPrimaryRegistryAlias(Boolean primaryRegistryAlias)
Whether or not the registry alias is the primary alias for the registry.
|
RegistryAlias |
withStatus(RegistryAliasStatus status)
The status of the registry alias.
|
RegistryAlias |
withStatus(String status)
The status of the registry alias.
|
public void setName(String name)
The name of the registry alias.
name - The name of the registry alias.public String getName()
The name of the registry alias.
public RegistryAlias withName(String name)
The name of the registry alias.
name - The name of the registry alias.public void setStatus(String status)
The status of the registry alias.
status - The status of the registry alias.RegistryAliasStatuspublic String getStatus()
The status of the registry alias.
RegistryAliasStatuspublic RegistryAlias withStatus(String status)
The status of the registry alias.
status - The status of the registry alias.RegistryAliasStatuspublic RegistryAlias withStatus(RegistryAliasStatus status)
The status of the registry alias.
status - The status of the registry alias.RegistryAliasStatuspublic void setPrimaryRegistryAlias(Boolean primaryRegistryAlias)
Whether or not the registry alias is the primary alias for the registry. If true, the alias is the primary
registry alias and is displayed in both the repository URL and the image URI used in the docker pull
commands on the Amazon ECR Public Gallery.
A registry alias that is not the primary registry alias can be used in the repository URI in a
docker pull command.
primaryRegistryAlias - Whether or not the registry alias is the primary alias for the registry. If true, the alias is the primary
registry alias and is displayed in both the repository URL and the image URI used in the
docker pull commands on the Amazon ECR Public Gallery.
A registry alias that is not the primary registry alias can be used in the repository URI in a
docker pull command.
public Boolean getPrimaryRegistryAlias()
Whether or not the registry alias is the primary alias for the registry. If true, the alias is the primary
registry alias and is displayed in both the repository URL and the image URI used in the docker pull
commands on the Amazon ECR Public Gallery.
A registry alias that is not the primary registry alias can be used in the repository URI in a
docker pull command.
docker pull commands on the Amazon ECR Public Gallery.
A registry alias that is not the primary registry alias can be used in the repository URI in a
docker pull command.
public RegistryAlias withPrimaryRegistryAlias(Boolean primaryRegistryAlias)
Whether or not the registry alias is the primary alias for the registry. If true, the alias is the primary
registry alias and is displayed in both the repository URL and the image URI used in the docker pull
commands on the Amazon ECR Public Gallery.
A registry alias that is not the primary registry alias can be used in the repository URI in a
docker pull command.
primaryRegistryAlias - Whether or not the registry alias is the primary alias for the registry. If true, the alias is the primary
registry alias and is displayed in both the repository URL and the image URI used in the
docker pull commands on the Amazon ECR Public Gallery.
A registry alias that is not the primary registry alias can be used in the repository URI in a
docker pull command.
public Boolean isPrimaryRegistryAlias()
Whether or not the registry alias is the primary alias for the registry. If true, the alias is the primary
registry alias and is displayed in both the repository URL and the image URI used in the docker pull
commands on the Amazon ECR Public Gallery.
A registry alias that is not the primary registry alias can be used in the repository URI in a
docker pull command.
docker pull commands on the Amazon ECR Public Gallery.
A registry alias that is not the primary registry alias can be used in the repository URI in a
docker pull command.
public void setDefaultRegistryAlias(Boolean defaultRegistryAlias)
Whether or not the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias.
defaultRegistryAlias - Whether or not the registry alias is the default alias for the registry. When the first public repository
is created, your public registry is assigned a default registry alias.public Boolean getDefaultRegistryAlias()
Whether or not the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias.
public RegistryAlias withDefaultRegistryAlias(Boolean defaultRegistryAlias)
Whether or not the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias.
defaultRegistryAlias - Whether or not the registry alias is the default alias for the registry. When the first public repository
is created, your public registry is assigned a default registry alias.public Boolean isDefaultRegistryAlias()
Whether or not the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias.
public String toString()
toString in class ObjectObject.toString()public RegistryAlias clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.