@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegistryId extends Object implements Serializable, Cloneable, StructuredPojo
A wrapper structure that may contain the registry name and Amazon Resource Name (ARN).
Constructor and Description |
---|
RegistryId() |
Modifier and Type | Method and Description |
---|---|
RegistryId |
clone() |
boolean |
equals(Object obj) |
String |
getRegistryArn()
Arn of the registry to be updated.
|
String |
getRegistryName()
Name of the registry.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRegistryArn(String registryArn)
Arn of the registry to be updated.
|
void |
setRegistryName(String registryName)
Name of the registry.
|
String |
toString()
Returns a string representation of this object.
|
RegistryId |
withRegistryArn(String registryArn)
Arn of the registry to be updated.
|
RegistryId |
withRegistryName(String registryName)
Name of the registry.
|
public void setRegistryName(String registryName)
Name of the registry. Used only for lookup. One of RegistryArn
or RegistryName
has to
be provided.
registryName
- Name of the registry. Used only for lookup. One of RegistryArn
or RegistryName
has to be provided.public String getRegistryName()
Name of the registry. Used only for lookup. One of RegistryArn
or RegistryName
has to
be provided.
RegistryArn
or RegistryName
has to be provided.public RegistryId withRegistryName(String registryName)
Name of the registry. Used only for lookup. One of RegistryArn
or RegistryName
has to
be provided.
registryName
- Name of the registry. Used only for lookup. One of RegistryArn
or RegistryName
has to be provided.public void setRegistryArn(String registryArn)
Arn of the registry to be updated. One of RegistryArn
or RegistryName
has to be
provided.
registryArn
- Arn of the registry to be updated. One of RegistryArn
or RegistryName
has to be
provided.public String getRegistryArn()
Arn of the registry to be updated. One of RegistryArn
or RegistryName
has to be
provided.
RegistryArn
or RegistryName
has to be
provided.public RegistryId withRegistryArn(String registryArn)
Arn of the registry to be updated. One of RegistryArn
or RegistryName
has to be
provided.
registryArn
- Arn of the registry to be updated. One of RegistryArn
or RegistryName
has to be
provided.public String toString()
toString
in class Object
Object.toString()
public RegistryId clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.