Class DeploymentRollback
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.extensions.DeploymentRollback
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeploymentRollbackBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeploymentRollback extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeploymentRollbackBuilder>, io.fabric8.kubernetes.api.model.KubernetesResourceDEPRECATED. DeploymentRollback stores the information required to rollback a deployment.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeploymentRollback()No args constructor for use in serializationDeploymentRollback(String apiVersion, String kind, String name, RollbackConfig rollbackTo, Map<String,String> updatedAnnotations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentRollbackBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.StringgetKind()Kind is a string value representing the REST resource this object represents.StringgetName()Required: This must match the Name of a deployment.RollbackConfiggetRollbackTo()DEPRECATED.Map<String,String>getUpdatedAnnotations()The annotations to be updated to a deploymentvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetName(String name)Required: This must match the Name of a deployment.voidsetRollbackTo(RollbackConfig rollbackTo)DEPRECATED.voidsetUpdatedAnnotations(Map<String,String> updatedAnnotations)The annotations to be updated to a deploymentDeploymentRollbackBuildertoBuilder()
-
-
-
Method Detail
-
getApiVersion
public 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/sig-architecture/api-conventions.md#resources
-
setApiVersion
public void setApiVersion(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/sig-architecture/api-conventions.md#resources
-
getKind
public 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/sig-architecture/api-conventions.md#types-kinds
-
setKind
public void setKind(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/sig-architecture/api-conventions.md#types-kinds
-
getName
public String getName()
Required: This must match the Name of a deployment.
-
setName
public void setName(String name)
Required: This must match the Name of a deployment.
-
getRollbackTo
public RollbackConfig getRollbackTo()
DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.
-
setRollbackTo
public void setRollbackTo(RollbackConfig rollbackTo)
DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.
-
getUpdatedAnnotations
public Map<String,String> getUpdatedAnnotations()
The annotations to be updated to a deployment
-
setUpdatedAnnotations
public void setUpdatedAnnotations(Map<String,String> updatedAnnotations)
The annotations to be updated to a deployment
-
edit
public DeploymentRollbackBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeploymentRollbackBuilder>
-
toBuilder
public DeploymentRollbackBuilder toBuilder()
-
-