Class V1ClusterTrustBundleProjection
java.lang.Object
io.kubernetes.client.openapi.models.V1ClusterTrustBundleProjection
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1ClusterTrustBundleProjection
extends Object
ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of V1ClusterTrustBundleProjection given an JSON stringGet labelSelectorgetName()
Select a single ClusterTrustBundle by object name.If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available.getPath()
Relative path from the volume root to write the bundle.Select all ClusterTrustBundles that match this signer name.int
hashCode()
labelSelector
(V1LabelSelector labelSelector) void
setLabelSelector
(V1LabelSelector labelSelector) void
void
setOptional
(Boolean optional) void
void
setSignerName
(String signerName) signerName
(String signerName) toJson()
Convert an instance of V1ClusterTrustBundleProjection to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_LABEL_SELECTOR
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_OPTIONAL
- See Also:
-
SERIALIZED_NAME_PATH
- See Also:
-
SERIALIZED_NAME_SIGNER_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ClusterTrustBundleProjection
public V1ClusterTrustBundleProjection()
-
-
Method Details
-
labelSelector
-
getLabelSelector
Get labelSelector- Returns:
- labelSelector
-
setLabelSelector
-
name
-
getName
Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.- Returns:
- name
-
setName
-
optional
-
getOptional
If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.- Returns:
- optional
-
setOptional
-
path
-
getPath
Relative path from the volume root to write the bundle.- Returns:
- path
-
setPath
-
signerName
-
getSignerName
Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.- Returns:
- signerName
-
setSignerName
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element is invalid with respect to V1ClusterTrustBundleProjection
-
fromJson
Create an instance of V1ClusterTrustBundleProjection given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1ClusterTrustBundleProjection
- Throws:
IOException
- if the JSON string is invalid with respect to V1ClusterTrustBundleProjection
-
toJson
Convert an instance of V1ClusterTrustBundleProjection to an JSON string- Returns:
- JSON string
-