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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.security.AlertEvidence
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KubernetesClusterEvidencecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the cloudResource property value.Gets the distribution property value.The deserialization information for the current modelgetName()Gets the name property value.Gets the platform property value.Gets the version property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetCloudResource(AlertEvidence value) Sets the cloudResource property value.voidsetDistribution(String value) Sets the distribution property value.voidSets the name property value.voidsetPlatform(KubernetesPlatform value) Sets the platform property value.voidsetVersion(String value) Sets the version property value.Methods inherited from class com.microsoft.graph.models.security.AlertEvidence
getAdditionalData, getBackingStore, getCreatedDateTime, getDetailedRoles, getOdataType, getRemediationStatus, getRemediationStatusDetails, getRoles, getTags, getVerdict, setAdditionalData, setBackingStore, setCreatedDateTime, setDetailedRoles, setOdataType, setRemediationStatus, setRemediationStatusDetails, setRoles, setTags, setVerdict
-
Constructor Details
-
KubernetesClusterEvidence
public KubernetesClusterEvidence()Instantiates a newKubernetesClusterEvidenceand 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
Gets the cloudResource property value. The cloud identifier of the cluster. Can be either an amazonResourceEvidence, azureResourceEvidence, or googleCloudResourceEvidence object.- Returns:
- a
AlertEvidence
-
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classAlertEvidence- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getName
Gets the name property value. The cluster name.- Returns:
- a
String
-
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
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classAlertEvidence- Parameters:
writer- Serialization writer to use to serialize this model
-
setCloudResource
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
Sets the distribution property value. The distribution type of the cluster.- Parameters:
value- Value to set for the distribution property.
-
setName
Sets the name property value. The cluster name.- Parameters:
value- Value to set for the name property.
-
setPlatform
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
Sets the version property value. The kubernetes version of the cluster.- Parameters:
value- Value to set for the version property.
-