@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Registry extends Object implements Serializable, Cloneable, StructuredPojo
The details of a public registry.
Constructor and Description |
---|
Registry() |
Modifier and Type | Method and Description |
---|---|
Registry |
clone() |
boolean |
equals(Object obj) |
List<RegistryAlias> |
getAliases()
An array of objects representing the aliases for a public registry.
|
String |
getRegistryArn()
The Amazon Resource Name (ARN) of the public registry.
|
String |
getRegistryId()
The AWS account ID associated with the registry.
|
String |
getRegistryUri()
The URI of a public registry.
|
Boolean |
getVerified()
Whether the account is verified.
|
int |
hashCode() |
Boolean |
isVerified()
Whether the account is verified.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAliases(Collection<RegistryAlias> aliases)
An array of objects representing the aliases for a public registry.
|
void |
setRegistryArn(String registryArn)
The Amazon Resource Name (ARN) of the public registry.
|
void |
setRegistryId(String registryId)
The AWS account ID associated with the registry.
|
void |
setRegistryUri(String registryUri)
The URI of a public registry.
|
void |
setVerified(Boolean verified)
Whether the account is verified.
|
String |
toString()
Returns a string representation of this object.
|
Registry |
withAliases(Collection<RegistryAlias> aliases)
An array of objects representing the aliases for a public registry.
|
Registry |
withAliases(RegistryAlias... aliases)
An array of objects representing the aliases for a public registry.
|
Registry |
withRegistryArn(String registryArn)
The Amazon Resource Name (ARN) of the public registry.
|
Registry |
withRegistryId(String registryId)
The AWS account ID associated with the registry.
|
Registry |
withRegistryUri(String registryUri)
The URI of a public registry.
|
Registry |
withVerified(Boolean verified)
Whether the account is verified.
|
public void setRegistryId(String registryId)
The AWS account ID associated with the registry. If you do not specify a registry, the default public registry is assumed.
registryId
- The AWS account ID associated with the registry. If you do not specify a registry, the default public
registry is assumed.public String getRegistryId()
The AWS account ID associated with the registry. If you do not specify a registry, the default public registry is assumed.
public Registry withRegistryId(String registryId)
The AWS account ID associated with the registry. If you do not specify a registry, the default public registry is assumed.
registryId
- The AWS account ID associated with the registry. If you do not specify a registry, the default public
registry is assumed.public void setRegistryArn(String registryArn)
The Amazon Resource Name (ARN) of the public registry.
registryArn
- The Amazon Resource Name (ARN) of the public registry.public String getRegistryArn()
The Amazon Resource Name (ARN) of the public registry.
public Registry withRegistryArn(String registryArn)
The Amazon Resource Name (ARN) of the public registry.
registryArn
- The Amazon Resource Name (ARN) of the public registry.public void setRegistryUri(String registryUri)
The URI of a public registry. The URI contains a universal prefix and the registry alias.
registryUri
- The URI of a public registry. The URI contains a universal prefix and the registry alias.public String getRegistryUri()
The URI of a public registry. The URI contains a universal prefix and the registry alias.
public Registry withRegistryUri(String registryUri)
The URI of a public registry. The URI contains a universal prefix and the registry alias.
registryUri
- The URI of a public registry. The URI contains a universal prefix and the registry alias.public void setVerified(Boolean verified)
Whether the account is verified. This indicates whether the account is an AWS Marketplace vendor. If an account is verified, each public repository will received a verified account badge on the Amazon ECR Public Gallery.
verified
- Whether the account is verified. This indicates whether the account is an AWS Marketplace vendor. If an
account is verified, each public repository will received a verified account badge on the Amazon ECR
Public Gallery.public Boolean getVerified()
Whether the account is verified. This indicates whether the account is an AWS Marketplace vendor. If an account is verified, each public repository will received a verified account badge on the Amazon ECR Public Gallery.
public Registry withVerified(Boolean verified)
Whether the account is verified. This indicates whether the account is an AWS Marketplace vendor. If an account is verified, each public repository will received a verified account badge on the Amazon ECR Public Gallery.
verified
- Whether the account is verified. This indicates whether the account is an AWS Marketplace vendor. If an
account is verified, each public repository will received a verified account badge on the Amazon ECR
Public Gallery.public Boolean isVerified()
Whether the account is verified. This indicates whether the account is an AWS Marketplace vendor. If an account is verified, each public repository will received a verified account badge on the Amazon ECR Public Gallery.
public List<RegistryAlias> getAliases()
An array of objects representing the aliases for a public registry.
public void setAliases(Collection<RegistryAlias> aliases)
An array of objects representing the aliases for a public registry.
aliases
- An array of objects representing the aliases for a public registry.public Registry withAliases(RegistryAlias... aliases)
An array of objects representing the aliases for a public registry.
NOTE: This method appends the values to the existing list (if any). Use
setAliases(java.util.Collection)
or withAliases(java.util.Collection)
if you want to override
the existing values.
aliases
- An array of objects representing the aliases for a public registry.public Registry withAliases(Collection<RegistryAlias> aliases)
An array of objects representing the aliases for a public registry.
aliases
- An array of objects representing the aliases for a public registry.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.