Class DeleteContainerImageRequest

    • Method Detail

      • serviceName

        public final String serviceName()

        The name of the container service for which to delete a registered container image.

        Returns:
        The name of the container service for which to delete a registered container image.
      • image

        public final String image()

        The name of the container image to delete from the container service.

        Use the GetContainerImages action to get the name of the container images that are registered to a container service.

        Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

        Returns:
        The name of the container image to delete from the container service.

        Use the GetContainerImages action to get the name of the container images that are registered to a container service.

        Container images sourced from your Lightsail container service, that are registered and stored on your service, start with a colon (:). For example, :container-service-1.mystaticwebsite.1. Container images sourced from a public registry like Docker Hub don't start with a colon. For example, nginx:latest or nginx.

      • 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