Package net.stickycode.kuuty.model.v18
Class IoK8sApimachineryPkgApisMetaV1OwnerReference
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApimachineryPkgApisMetaV1OwnerReference
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApimachineryPkgApisMetaV1OwnerReference extends Object
OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_API_VERSIONstatic StringJSON_PROPERTY_BLOCK_OWNER_DELETIONstatic StringJSON_PROPERTY_CONTROLLERstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_UID
-
Constructor Summary
Constructors Constructor Description IoK8sApimachineryPkgApisMetaV1OwnerReference()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_API_VERSION
public static final String JSON_PROPERTY_API_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BLOCK_OWNER_DELETION
public static final String JSON_PROPERTY_BLOCK_OWNER_DELETION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONTROLLER
public static final String JSON_PROPERTY_CONTROLLER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KIND
public static final String JSON_PROPERTY_KIND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UID
public static final String JSON_PROPERTY_UID
- See Also:
- Constant Field Values
-
-
Method Detail
-
apiVersion
public IoK8sApimachineryPkgApisMetaV1OwnerReference apiVersion(String apiVersion)
-
getApiVersion
public String getApiVersion()
API version of the referent.- Returns:
- apiVersion
-
setApiVersion
public void setApiVersion(String apiVersion)
-
blockOwnerDeletion
public IoK8sApimachineryPkgApisMetaV1OwnerReference blockOwnerDeletion(Boolean blockOwnerDeletion)
-
getBlockOwnerDeletion
@Nullable public Boolean getBlockOwnerDeletion()
If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.- Returns:
- blockOwnerDeletion
-
setBlockOwnerDeletion
public void setBlockOwnerDeletion(Boolean blockOwnerDeletion)
-
controller
public IoK8sApimachineryPkgApisMetaV1OwnerReference controller(Boolean controller)
-
getController
@Nullable public Boolean getController()
If true, this reference points to the managing controller.- Returns:
- controller
-
setController
public void setController(Boolean controller)
-
kind
public IoK8sApimachineryPkgApisMetaV1OwnerReference kind(String kind)
-
getKind
public String getKind()
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
- kind
-
setKind
public void setKind(String kind)
-
name
public IoK8sApimachineryPkgApisMetaV1OwnerReference name(String name)
-
getName
public String getName()
Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names- Returns:
- name
-
setName
public void setName(String name)
-
uid
public IoK8sApimachineryPkgApisMetaV1OwnerReference uid(String uid)
-
getUid
public String getUid()
UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids- Returns:
- uid
-
setUid
public void setUid(String uid)
-
-