Class ContainerServiceRegistryLogin

    • 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 CreateContainerServiceRegistryLogin action.

        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 CreateContainerServiceRegistryLogin action.

      • 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)