Class DeploymentRollback

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class DeploymentRollback
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.
    • Constructor Summary

      Constructors 
      Constructor Description
      DeploymentRollback()  
      DeploymentRollback​(java.lang.String apiVersion, java.lang.String kind, @NonNull java.lang.String name, @NonNull RollbackConfig rollbackTo, java.util.Map<java.lang.String,​java.lang.String> updatedAnnotations)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static DeploymentRollback.Builder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getApiVersion()
      APIVersion defines the versioned schema of this representation of an object.
      java.lang.String getKind()
      Kind is a string value representing the REST resource this object represents.
      @NonNull java.lang.String getName()
      Required: This must match the Name of a deployment.
      @NonNull RollbackConfig getRollbackTo()  
      java.util.Map<java.lang.String,​java.lang.String> getUpdatedAnnotations()
      The annotations to be updated to a deployment
      int hashCode()  
      void setApiVersion​(java.lang.String apiVersion)
      APIVersion defines the versioned schema of this representation of an object.
      void setKind​(java.lang.String kind)
      Kind is a string value representing the REST resource this object represents.
      void setName​(@NonNull java.lang.String name)
      Required: This must match the Name of a deployment.
      void setRollbackTo​(@NonNull RollbackConfig rollbackTo)  
      void setUpdatedAnnotations​(java.util.Map<java.lang.String,​java.lang.String> updatedAnnotations)
      The annotations to be updated to a deployment
      DeploymentRollback.Builder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DeploymentRollback

        public DeploymentRollback​(java.lang.String apiVersion,
                                  java.lang.String kind,
                                  @NonNull
                                  @NonNull java.lang.String name,
                                  @NonNull
                                  @NonNull RollbackConfig rollbackTo,
                                  java.util.Map<java.lang.String,​java.lang.String> updatedAnnotations)
      • DeploymentRollback

        public DeploymentRollback()
    • Method Detail

      • getApiVersion

        public java.lang.String getApiVersion()
        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
      • getKind

        public java.lang.String getKind()
        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
      • getName

        @NonNull
        public @NonNull java.lang.String getName()
        Required: This must match the Name of a deployment.
      • getRollbackTo

        @NonNull
        public @NonNull RollbackConfig getRollbackTo()
      • getUpdatedAnnotations

        public java.util.Map<java.lang.String,​java.lang.String> getUpdatedAnnotations()
        The annotations to be updated to a deployment
      • setApiVersion

        public void setApiVersion​(java.lang.String apiVersion)
        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
      • setKind

        public void setKind​(java.lang.String kind)
        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
      • setName

        public void setName​(@NonNull
                            @NonNull java.lang.String name)
        Required: This must match the Name of a deployment.
      • setRollbackTo

        public void setRollbackTo​(@NonNull
                                  @NonNull RollbackConfig rollbackTo)
      • setUpdatedAnnotations

        public void setUpdatedAnnotations​(java.util.Map<java.lang.String,​java.lang.String> updatedAnnotations)
        The annotations to be updated to a deployment
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object