Class V1ContainerImage

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ContainerImage

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ContainerImage extends Object
Describe a container image
  • Field Details

  • Constructor Details

    • V1ContainerImage

      public V1ContainerImage()
  • Method Details

    • getNames

      public List<@NotNull String> getNames()
      Names by which this image is known. e.g. [\"kubernetes.example/hyperkube:v1.0.7\", \"cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7\"]
      Returns:
      the names property value
    • setNames

      public void setNames(List<@NotNull String> names)
      Set the names property value
      Parameters:
      names - property value to set
    • names

      public V1ContainerImage names(List<@NotNull String> names)
      Set names in a chainable fashion.
      Returns:
      The same instance of V1ContainerImage for chaining.
    • addnamesItem

      public V1ContainerImage addnamesItem(String namesItem)
      Add an item to the names property in a chainable fashion.
      Returns:
      The same instance of V1ContainerImage for chaining.
    • getSizeBytes

      public Long getSizeBytes()
      The size of the image in bytes.
      Returns:
      the sizeBytes property value
    • setSizeBytes

      public void setSizeBytes(Long sizeBytes)
      Set the sizeBytes property value
      Parameters:
      sizeBytes - property value to set
    • sizeBytes

      public V1ContainerImage sizeBytes(Long sizeBytes)
      Set sizeBytes in a chainable fashion.
      Returns:
      The same instance of V1ContainerImage for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object