Class MetadataFluent<A extends MetadataFluent<A>>

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Fluent<A>, io.fabric8.kubernetes.api.builder.Visitable<A>
    Direct Known Subclasses:
    DeploymentFluent.MetadataNested, MetadataBuilder

    public class MetadataFluent<A extends MetadataFluent<A>>
    extends io.fabric8.kubernetes.api.builder.BaseFluent<A>
    Generated
    • Constructor Detail

      • MetadataFluent

        public MetadataFluent()
      • MetadataFluent

        public MetadataFluent​(Metadata instance)
    • Method Detail

      • addToAnnotations

        public A addToAnnotations​(String key,
                                  String value)
      • removeFromAnnotations

        public A removeFromAnnotations​(String key)
      • removeFromAnnotations

        public A removeFromAnnotations​(Map<String,​String> map)
      • withAnnotations

        public <K,​V> A withAnnotations​(Map<String,​String> annotations)
      • hasAnnotations

        public boolean hasAnnotations()
      • addToLabels

        public A addToLabels​(String key,
                             String value)
      • removeFromLabels

        public A removeFromLabels​(String key)
      • hasLabels

        public boolean hasLabels()
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends MetadataFluent<A>>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends MetadataFluent<A>>