@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContainerServiceRegistryLogin extends Object implements Serializable, Cloneable, StructuredPojo
Describes the sign-in credentials for the container image registry of an Amazon Lightsail account.
Constructor and Description |
---|
ContainerServiceRegistryLogin() |
Modifier and Type | Method and Description |
---|---|
ContainerServiceRegistryLogin |
clone() |
boolean |
equals(Object obj) |
Date |
getExpiresAt()
The timestamp of when the container image registry sign-in credentials expire.
|
String |
getPassword()
The container service registry password to use to push container images to the container image registry of a
Lightsail account
|
String |
getRegistry()
The address to use to push container images to the container image registry of a Lightsail account.
|
String |
getUsername()
The container service registry username to use to push container images to the container image registry of a
Lightsail account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExpiresAt(Date expiresAt)
The timestamp of when the container image registry sign-in credentials expire.
|
void |
setPassword(String password)
The container service registry password to use to push container images to the container image registry of a
Lightsail account
|
void |
setRegistry(String registry)
The address to use to push container images to the container image registry of a Lightsail account.
|
void |
setUsername(String username)
The container service registry username to use to push container images to the container image registry of a
Lightsail account.
|
String |
toString()
Returns a string representation of this object.
|
ContainerServiceRegistryLogin |
withExpiresAt(Date expiresAt)
The timestamp of when the container image registry sign-in credentials expire.
|
ContainerServiceRegistryLogin |
withPassword(String password)
The container service registry password to use to push container images to the container image registry of a
Lightsail account
|
ContainerServiceRegistryLogin |
withRegistry(String registry)
The address to use to push container images to the container image registry of a Lightsail account.
|
ContainerServiceRegistryLogin |
withUsername(String username)
The container service registry username to use to push container images to the container image registry of a
Lightsail account.
|
public void setUsername(String username)
The container service registry username to use to push container images to the container image registry of a Lightsail account.
username
- The container service registry username to use to push container images to the container image registry of
a Lightsail account.public String getUsername()
The container service registry username to use to push container images to the container image registry of a Lightsail account.
public ContainerServiceRegistryLogin withUsername(String username)
The container service registry username to use to push container images to the container image registry of a Lightsail account.
username
- The container service registry username to use to push container images to the container image registry of
a Lightsail account.public void setPassword(String password)
The container service registry password to use to push container images to the container image registry of a Lightsail account
password
- The container service registry password to use to push container images to the container image registry of
a Lightsail accountpublic String getPassword()
The container service registry password to use to push container images to the container image registry of a Lightsail account
public ContainerServiceRegistryLogin withPassword(String password)
The container service registry password to use to push container images to the container image registry of a Lightsail account
password
- The container service registry password to use to push container images to the container image registry of
a Lightsail accountpublic void setExpiresAt(Date expiresAt)
The timestamp of when the container image registry sign-in credentials expire.
The log in credentials expire 12 hours after they are created, at which point you will need to create a new set
of log in credentials using the CreateContainerServiceRegistryLogin
action.
expiresAt
- The timestamp of when the container image registry sign-in credentials expire.
The log in credentials expire 12 hours after they are created, at which point you will need to create a
new set of log in credentials using the CreateContainerServiceRegistryLogin
action.
public Date getExpiresAt()
The timestamp of when the container image registry sign-in credentials expire.
The log in credentials expire 12 hours after they are created, at which point you will need to create a new set
of log in credentials using the CreateContainerServiceRegistryLogin
action.
The log in credentials expire 12 hours after they are created, at which point you will need to create a
new set of log in credentials using the CreateContainerServiceRegistryLogin
action.
public ContainerServiceRegistryLogin withExpiresAt(Date expiresAt)
The timestamp of when the container image registry sign-in credentials expire.
The log in credentials expire 12 hours after they are created, at which point you will need to create a new set
of log in credentials using the CreateContainerServiceRegistryLogin
action.
expiresAt
- The timestamp of when the container image registry sign-in credentials expire.
The log in credentials expire 12 hours after they are created, at which point you will need to create a
new set of log in credentials using the CreateContainerServiceRegistryLogin
action.
public void setRegistry(String registry)
The address to use to push container images to the container image registry of a Lightsail account.
registry
- The address to use to push container images to the container image registry of a Lightsail account.public String getRegistry()
The address to use to push container images to the container image registry of a Lightsail account.
public ContainerServiceRegistryLogin withRegistry(String registry)
The address to use to push container images to the container image registry of a Lightsail account.
registry
- The address to use to push container images to the container image registry of a Lightsail account.public String toString()
toString
in class Object
Object.toString()
public ContainerServiceRegistryLogin clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.