Class V1VolumeProjection
java.lang.Object
io.kubernetes.client.openapi.models.V1VolumeProjection
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1VolumeProjection
extends Object
Projection that may be projected along with other supported volume types
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclusterTrustBundle(V1ClusterTrustBundleProjection clusterTrustBundle) configMap(V1ConfigMapProjection configMap) downwardAPI(V1DownwardAPIProjection downwardAPI) booleanstatic V1VolumeProjectionCreate an instance of V1VolumeProjection given an JSON stringGet clusterTrustBundleGet configMapGet downwardAPIGet secretGet serviceAccountTokeninthashCode()secret(V1SecretProjection secret) serviceAccountToken(V1ServiceAccountTokenProjection serviceAccountToken) voidsetClusterTrustBundle(V1ClusterTrustBundleProjection clusterTrustBundle) voidsetConfigMap(V1ConfigMapProjection configMap) voidsetDownwardAPI(V1DownwardAPIProjection downwardAPI) voidsetSecret(V1SecretProjection secret) voidsetServiceAccountToken(V1ServiceAccountTokenProjection serviceAccountToken) toJson()Convert an instance of V1VolumeProjection to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CLUSTER_TRUST_BUNDLE
- See Also:
-
SERIALIZED_NAME_CONFIG_MAP
- See Also:
-
SERIALIZED_NAME_DOWNWARD_A_P_I
- See Also:
-
SERIALIZED_NAME_SECRET
- See Also:
-
SERIALIZED_NAME_SERVICE_ACCOUNT_TOKEN
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1VolumeProjection
public V1VolumeProjection()
-
-
Method Details
-
clusterTrustBundle
-
getClusterTrustBundle
Get clusterTrustBundle- Returns:
- clusterTrustBundle
-
setClusterTrustBundle
-
configMap
-
getConfigMap
Get configMap- Returns:
- configMap
-
setConfigMap
-
downwardAPI
-
getDownwardAPI
Get downwardAPI- Returns:
- downwardAPI
-
setDownwardAPI
-
secret
-
getSecret
Get secret- Returns:
- secret
-
setSecret
-
serviceAccountToken
-
getServiceAccountToken
Get serviceAccountToken- Returns:
- serviceAccountToken
-
setServiceAccountToken
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to V1VolumeProjection
-
fromJson
Create an instance of V1VolumeProjection given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1VolumeProjection
- Throws:
IOException- if the JSON string is invalid with respect to V1VolumeProjection
-
toJson
Convert an instance of V1VolumeProjection to an JSON string- Returns:
- JSON string
-