Class KubernetesClusterEvidence

java.lang.Object
com.microsoft.graph.models.security.AlertEvidence
com.microsoft.graph.models.security.KubernetesClusterEvidence
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class KubernetesClusterEvidence extends AlertEvidence implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • KubernetesClusterEvidence

      public KubernetesClusterEvidence()
      Instantiates a new KubernetesClusterEvidence and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static KubernetesClusterEvidence createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a KubernetesClusterEvidence
    • getCloudResource

      @Nullable public AlertEvidence getCloudResource()
      Gets the cloudResource property value. The cloud identifier of the cluster. Can be either an amazonResourceEvidence, azureResourceEvidence, or googleCloudResourceEvidence object.
      Returns:
      a AlertEvidence
    • getDistribution

      @Nullable public String getDistribution()
      Gets the distribution property value. The distribution type of the cluster.
      Returns:
      a String
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class AlertEvidence
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getName

      @Nullable public String getName()
      Gets the name property value. The cluster name.
      Returns:
      a String
    • getPlatform

      @Nullable public KubernetesPlatform getPlatform()
      Gets the platform property value. The platform the cluster runs on. Possible values are: unknown, aks, eks, gke, arc, unknownFutureValue.
      Returns:
      a KubernetesPlatform
    • getVersion

      @Nullable public String getVersion()
      Gets the version property value. The kubernetes version of the cluster.
      Returns:
      a String
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class AlertEvidence
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCloudResource

      public void setCloudResource(@Nullable AlertEvidence value)
      Sets the cloudResource property value. The cloud identifier of the cluster. Can be either an amazonResourceEvidence, azureResourceEvidence, or googleCloudResourceEvidence object.
      Parameters:
      value - Value to set for the cloudResource property.
    • setDistribution

      public void setDistribution(@Nullable String value)
      Sets the distribution property value. The distribution type of the cluster.
      Parameters:
      value - Value to set for the distribution property.
    • setName

      public void setName(@Nullable String value)
      Sets the name property value. The cluster name.
      Parameters:
      value - Value to set for the name property.
    • setPlatform

      public void setPlatform(@Nullable KubernetesPlatform value)
      Sets the platform property value. The platform the cluster runs on. Possible values are: unknown, aks, eks, gke, arc, unknownFutureValue.
      Parameters:
      value - Value to set for the platform property.
    • setVersion

      public void setVersion(@Nullable String value)
      Sets the version property value. The kubernetes version of the cluster.
      Parameters:
      value - Value to set for the version property.