Package io.fabric8.openshift.api.model
Class DeploymentConfigRollback
- java.lang.Object
-
- io.fabric8.openshift.api.model.DeploymentConfigRollback
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeploymentConfigRollbackBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.Namespaced,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeploymentConfigRollback extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeploymentConfigRollbackBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.Namespaced
DeploymentConfigRollback provides the input to rollback generation.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeploymentConfigRollback()No args constructor for use in serializationDeploymentConfigRollback(String apiVersion, String kind, String name, DeploymentConfigRollbackSpec spec, Map<String,String> updatedAnnotations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentConfigRollbackBuilderedit()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()name of the deployment config that will be rolled back.DeploymentConfigRollbackSpecgetSpec()DeploymentConfigRollback provides the input to rollback generation.Map<String,String>getUpdatedAnnotations()updatedAnnotations is a set of new annotations that will be added in the deployment config.voidsetAdditionalProperties(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)name of the deployment config that will be rolled back.voidsetSpec(DeploymentConfigRollbackSpec spec)DeploymentConfigRollback provides the input to rollback generation.voidsetUpdatedAnnotations(Map<String,String> updatedAnnotations)updatedAnnotations is a set of new annotations that will be added in the deployment config.DeploymentConfigRollbackBuildertoBuilder()
-
-
-
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()
name of the deployment config that will be rolled back.
-
setName
public void setName(String name)
name of the deployment config that will be rolled back.
-
getSpec
public DeploymentConfigRollbackSpec getSpec()
DeploymentConfigRollback provides the input to rollback generation.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
setSpec
public void setSpec(DeploymentConfigRollbackSpec spec)
DeploymentConfigRollback provides the input to rollback generation.Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
-
getUpdatedAnnotations
public Map<String,String> getUpdatedAnnotations()
updatedAnnotations is a set of new annotations that will be added in the deployment config.
-
setUpdatedAnnotations
public void setUpdatedAnnotations(Map<String,String> updatedAnnotations)
updatedAnnotations is a set of new annotations that will be added in the deployment config.
-
edit
public DeploymentConfigRollbackBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeploymentConfigRollbackBuilder>
-
toBuilder
public DeploymentConfigRollbackBuilder toBuilder()
-
-