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.
  • Field Details

  • Constructor Details

    • V1ClusterTrustBundleProjection

      public V1ClusterTrustBundleProjection()
  • Method Details

    • labelSelector

      public V1ClusterTrustBundleProjection labelSelector(V1LabelSelector labelSelector)
    • getLabelSelector

      @Nullable public V1LabelSelector getLabelSelector()
      Get labelSelector
      Returns:
      labelSelector
    • setLabelSelector

      public void setLabelSelector(V1LabelSelector labelSelector)
    • name

    • getName

      @Nullable public String getName()
      Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.
      Returns:
      name
    • setName

      public void setName(String name)
    • optional

      public V1ClusterTrustBundleProjection optional(Boolean optional)
    • getOptional

      @Nullable public Boolean 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

      public void setOptional(Boolean optional)
    • path

    • getPath

      @Nonnull public String getPath()
      Relative path from the volume root to write the bundle.
      Returns:
      path
    • setPath

      public void setPath(String path)
    • signerName

      public V1ClusterTrustBundleProjection signerName(String signerName)
    • getSignerName

      @Nullable public String 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

      public void setSignerName(String signerName)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static V1ClusterTrustBundleProjection fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of V1ClusterTrustBundleProjection to an JSON string
      Returns:
      JSON string