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
  • Constructor Details

    • KubernetesPodEvidence

      public KubernetesPodEvidence()
      Instantiates a new KubernetesPodEvidence and 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

      @Nullable public List<ContainerEvidence> getContainers()
      Gets the containers property value. The list of pod containers which are not init or ephemeral containers.
      Returns:
      a List<ContainerEvidence>
    • getController

      @Nullable public KubernetesControllerEvidence getController()
      Gets the controller property value. The pod controller.
      Returns:
      a KubernetesControllerEvidence
    • getEphemeralContainers

      @Nullable public List<ContainerEvidence> 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class AlertEvidence
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getInitContainers

      @Nullable public List<ContainerEvidence> getInitContainers()
      Gets the initContainers property value. The list of pod init containers.
      Returns:
      a List<ContainerEvidence>
    • getLabels

      @Nullable public Dictionary getLabels()
      Gets the labels property value. The pod labels.
      Returns:
      a Dictionary
    • getName

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

      @Nullable public KubernetesNamespaceEvidence getNamespace()
      Gets the namespace property value. The pod namespace.
      Returns:
      a KubernetesNamespaceEvidence
    • getPodIp

      @Nullable public IpEvidence getPodIp()
      Gets the podIp property value. The pod IP.
      Returns:
      a IpEvidence
    • getServiceAccount

      @Nullable public KubernetesServiceAccountEvidence 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class AlertEvidence
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setContainers

      public void setContainers(@Nullable List<ContainerEvidence> value)
      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

      public void setController(@Nullable KubernetesControllerEvidence value)
      Sets the controller property value. The pod controller.
      Parameters:
      value - Value to set for the controller property.
    • setEphemeralContainers

      public void setEphemeralContainers(@Nullable List<ContainerEvidence> value)
      Sets the ephemeralContainers property value. The list of pod ephemeral containers.
      Parameters:
      value - Value to set for the ephemeralContainers property.
    • setInitContainers

      public void setInitContainers(@Nullable List<ContainerEvidence> value)
      Sets the initContainers property value. The list of pod init containers.
      Parameters:
      value - Value to set for the initContainers property.
    • setLabels

      public void setLabels(@Nullable Dictionary value)
      Sets the labels property value. The pod labels.
      Parameters:
      value - Value to set for the labels property.
    • setName

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

      public void setNamespace(@Nullable KubernetesNamespaceEvidence value)
      Sets the namespace property value. The pod namespace.
      Parameters:
      value - Value to set for the namespace property.
    • setPodIp

      public void setPodIp(@Nullable IpEvidence value)
      Sets the podIp property value. The pod IP.
      Parameters:
      value - Value to set for the podIp property.
    • setServiceAccount

      public void setServiceAccount(@Nullable KubernetesServiceAccountEvidence value)
      Sets the serviceAccount property value. The pod service account.
      Parameters:
      value - Value to set for the serviceAccount property.