Interface ContainerServiceRegistryLogin.Builder

    • Method Detail

      • username

        ContainerServiceRegistryLogin.Builder username​(String username)

        The container service registry username to use to push container images to the container image registry of a Lightsail account.

        Parameters:
        username - The container service registry username to use to push container images to the container image registry of a Lightsail account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • password

        ContainerServiceRegistryLogin.Builder password​(String password)

        The container service registry password to use to push container images to the container image registry of a Lightsail account

        Parameters:
        password - The container service registry password to use to push container images to the container image registry of a Lightsail account
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expiresAt

        ContainerServiceRegistryLogin.Builder expiresAt​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • registry

        ContainerServiceRegistryLogin.Builder registry​(String registry)

        The address to use to push container images to the container image registry of a Lightsail account.

        Parameters:
        registry - The address to use to push container images to the container image registry of a Lightsail account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.