@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 when it's created. However, 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()
 Indicates whether the registry alias is the default alias for the registry. | 
| String | getName()
 The name of the registry alias. | 
| Boolean | getPrimaryRegistryAlias()
 Indicates whether the registry alias is the primary alias for the registry. | 
| String | getStatus()
 The status of the registry alias. | 
| int | hashCode() | 
| Boolean | isDefaultRegistryAlias()
 Indicates whether the registry alias is the default alias for the registry. | 
| Boolean | isPrimaryRegistryAlias()
 Indicates whether the registry alias is the primary alias for the registry. | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setDefaultRegistryAlias(Boolean defaultRegistryAlias)
 Indicates whether the registry alias is the default alias for the registry. | 
| void | setName(String name)
 The name of the registry alias. | 
| void | setPrimaryRegistryAlias(Boolean primaryRegistryAlias)
 Indicates whether 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)
 Indicates whether the registry alias is the default alias for the registry. | 
| RegistryAlias | withName(String name)
 The name of the registry alias. | 
| RegistryAlias | withPrimaryRegistryAlias(Boolean primaryRegistryAlias)
 Indicates whether 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)
 Indicates whether 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 isn't the primary registry alias can be used in the repository URI in a
 docker pull command.
 
primaryRegistryAlias - Indicates whether 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 isn't the primary registry alias can be used in the repository URI in a
        docker pull command.
        
public Boolean getPrimaryRegistryAlias()
 Indicates whether 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 isn't 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 isn't the primary registry alias can be used in the repository URI in a
         docker pull command.
         
public RegistryAlias withPrimaryRegistryAlias(Boolean primaryRegistryAlias)
 Indicates whether 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 isn't the primary registry alias can be used in the repository URI in a
 docker pull command.
 
primaryRegistryAlias - Indicates whether 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 isn't the primary registry alias can be used in the repository URI in a
        docker pull command.
        
public Boolean isPrimaryRegistryAlias()
 Indicates whether 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 isn't 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 isn't the primary registry alias can be used in the repository URI in a
         docker pull command.
         
public void setDefaultRegistryAlias(Boolean defaultRegistryAlias)
Indicates whether 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 - Indicates whether 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()
Indicates whether 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)
Indicates whether 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 - Indicates whether 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()
Indicates whether 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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.