Class ContainerEvidence

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

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

    • ContainerEvidence

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

    • createFromDiscriminatorValue

      @Nonnull public static ContainerEvidence 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 ContainerEvidence
    • getArgs

      @Nullable public List<String> getArgs()
      Gets the args property value. The list of arguments.
      Returns:
      a List<String>
    • getCommand

      @Nullable public List<String> getCommand()
      Gets the command property value. The list of commands.
      Returns:
      a List<String>
    • getContainerId

      @Nullable public String getContainerId()
      Gets the containerId property value. The container ID.
      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>>
    • getImage

      @Nullable public ContainerImageEvidence getImage()
      Gets the image property value. The image used to run the container.
      Returns:
      a ContainerImageEvidence
    • getIsPrivileged

      @Nullable public Boolean getIsPrivileged()
      Gets the isPrivileged property value. The privileged status.
      Returns:
      a Boolean
    • getName

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

      @Nullable public KubernetesPodEvidence getPod()
      Gets the pod property value. The pod this container belongs to.
      Returns:
      a KubernetesPodEvidence
    • 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
    • setArgs

      public void setArgs(@Nullable List<String> value)
      Sets the args property value. The list of arguments.
      Parameters:
      value - Value to set for the args property.
    • setCommand

      public void setCommand(@Nullable List<String> value)
      Sets the command property value. The list of commands.
      Parameters:
      value - Value to set for the command property.
    • setContainerId

      public void setContainerId(@Nullable String value)
      Sets the containerId property value. The container ID.
      Parameters:
      value - Value to set for the containerId property.
    • setImage

      public void setImage(@Nullable ContainerImageEvidence value)
      Sets the image property value. The image used to run the container.
      Parameters:
      value - Value to set for the image property.
    • setIsPrivileged

      public void setIsPrivileged(@Nullable Boolean value)
      Sets the isPrivileged property value. The privileged status.
      Parameters:
      value - Value to set for the isPrivileged property.
    • setName

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

      public void setPod(@Nullable KubernetesPodEvidence value)
      Sets the pod property value. The pod this container belongs to.
      Parameters:
      value - Value to set for the pod property.