Class ContainerServiceRegistryLogin
- java.lang.Object
-
- software.amazon.awssdk.services.lightsail.model.ContainerServiceRegistryLogin
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ContainerServiceRegistryLogin.Builder,ContainerServiceRegistryLogin>
@Generated("software.amazon.awssdk:codegen") public final class ContainerServiceRegistryLogin extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContainerServiceRegistryLogin.Builder,ContainerServiceRegistryLogin>
Describes the sign-in credentials for the container image registry of an Amazon Lightsail account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContainerServiceRegistryLogin.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContainerServiceRegistryLogin.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexpiresAt()The timestamp of when the container image registry sign-in credentials expire.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringpassword()The container service registry password to use to push container images to the container image registry of a Lightsail accountStringregistry()The address to use to push container images to the container image registry of a Lightsail account.List<SdkField<?>>sdkFields()static Class<? extends ContainerServiceRegistryLogin.Builder>serializableBuilderClass()ContainerServiceRegistryLogin.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringusername()The container service registry username to use to push container images to the container image registry of a Lightsail account.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
username
public final String username()
The container service registry username to use to push container images to the container image registry of a Lightsail account.
- Returns:
- The container service registry username to use to push container images to the container image registry of a Lightsail account.
-
password
public final String password()
The container service registry password to use to push container images to the container image registry of a Lightsail account
- Returns:
- The container service registry password to use to push container images to the container image registry of a Lightsail account
-
expiresAt
public final Instant 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
CreateContainerServiceRegistryLoginaction.- Returns:
- 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
CreateContainerServiceRegistryLoginaction.
-
registry
public final String registry()
The address to use to push container images to the container image registry of a Lightsail account.
- Returns:
- The address to use to push container images to the container image registry of a Lightsail account.
-
toBuilder
public ContainerServiceRegistryLogin.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ContainerServiceRegistryLogin.Builder,ContainerServiceRegistryLogin>
-
builder
public static ContainerServiceRegistryLogin.Builder builder()
-
serializableBuilderClass
public static Class<? extends ContainerServiceRegistryLogin.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-