Class KubernetesPodEvidence
java.lang.Object
com.microsoft.graph.models.security.AlertEvidence
com.microsoft.graph.models.security.KubernetesPodEvidence
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class KubernetesPodEvidence
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 KubernetesPodEvidencecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the containers property value.Gets the controller property value.Gets the ephemeralContainers property value.The deserialization information for the current modelGets the initContainers property value.Gets the labels property value.getName()Gets the name property value.Gets the namespace property value.getPodIp()Gets the podIp property value.Gets the serviceAccount property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetContainers(List<ContainerEvidence> value) Sets the containers property value.voidSets the controller property value.voidSets the ephemeralContainers property value.voidsetInitContainers(List<ContainerEvidence> value) Sets the initContainers property value.voidsetLabels(Dictionary value) Sets the labels property value.voidSets the name property value.voidSets the namespace property value.voidsetPodIp(IpEvidence value) Sets the podIp property value.voidSets the serviceAccount 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
-
KubernetesPodEvidence
public KubernetesPodEvidence()Instantiates a newKubernetesPodEvidenceand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static KubernetesPodEvidence 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
KubernetesPodEvidence
-
getContainers
Gets the containers property value. The list of pod containers which are not init or ephemeral containers.- Returns:
- a
List<ContainerEvidence>
-
getController
Gets the controller property value. The pod controller.- Returns:
- a
KubernetesControllerEvidence
-
getEphemeralContainers
Gets the ephemeralContainers property value. The list of pod ephemeral containers.- Returns:
- a
List<ContainerEvidence>
-
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>>
-
getInitContainers
Gets the initContainers property value. The list of pod init containers.- Returns:
- a
List<ContainerEvidence>
-
getLabels
Gets the labels property value. The pod labels.- Returns:
- a
Dictionary
-
getName
Gets the name property value. The pod name.- Returns:
- a
String
-
getNamespace
Gets the namespace property value. The pod namespace.- Returns:
- a
KubernetesNamespaceEvidence
-
getPodIp
Gets the podIp property value. The pod IP.- Returns:
- a
IpEvidence
-
getServiceAccount
Gets the serviceAccount property value. The pod service account.- Returns:
- a
KubernetesServiceAccountEvidence
-
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
-
setContainers
Sets the containers property value. The list of pod containers which are not init or ephemeral containers.- Parameters:
value- Value to set for the containers property.
-
setController
Sets the controller property value. The pod controller.- Parameters:
value- Value to set for the controller property.
-
setEphemeralContainers
Sets the ephemeralContainers property value. The list of pod ephemeral containers.- Parameters:
value- Value to set for the ephemeralContainers property.
-
setInitContainers
Sets the initContainers property value. The list of pod init containers.- Parameters:
value- Value to set for the initContainers property.
-
setLabels
Sets the labels property value. The pod labels.- Parameters:
value- Value to set for the labels property.
-
setName
Sets the name property value. The pod name.- Parameters:
value- Value to set for the name property.
-
setNamespace
Sets the namespace property value. The pod namespace.- Parameters:
value- Value to set for the namespace property.
-
setPodIp
Sets the podIp property value. The pod IP.- Parameters:
value- Value to set for the podIp property.
-
setServiceAccount
Sets the serviceAccount property value. The pod service account.- Parameters:
value- Value to set for the serviceAccount property.
-