Class KubernetesServiceEvidence

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

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

    • KubernetesServiceEvidence

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

    • createFromDiscriminatorValue

      @Nonnull public static KubernetesServiceEvidence 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 KubernetesServiceEvidence
    • getClusterIP

      @Nullable public IpEvidence getClusterIP()
      Gets the clusterIP property value. The service cluster IP.
      Returns:
      a IpEvidence
    • getExternalIPs

      @Nullable public List<IpEvidence> getExternalIPs()
      Gets the externalIPs property value. The service external IPs.
      Returns:
      a List<IpEvidence>
    • 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>>
    • getLabels

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

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

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

      @Nullable public Dictionary getSelector()
      Gets the selector property value. The service selector.
      Returns:
      a Dictionary
    • getServicePorts

      @Nullable public List<KubernetesServicePort> getServicePorts()
      Gets the servicePorts property value. The list of service ports.
      Returns:
      a List<KubernetesServicePort>
    • getServiceType

      @Nullable public KubernetesServiceType getServiceType()
      Gets the serviceType property value. The serviceType property
      Returns:
      a KubernetesServiceType
    • 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
    • setClusterIP

      public void setClusterIP(@Nullable IpEvidence value)
      Sets the clusterIP property value. The service cluster IP.
      Parameters:
      value - Value to set for the clusterIP property.
    • setExternalIPs

      public void setExternalIPs(@Nullable List<IpEvidence> value)
      Sets the externalIPs property value. The service external IPs.
      Parameters:
      value - Value to set for the externalIPs property.
    • setLabels

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

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

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

      public void setSelector(@Nullable Dictionary value)
      Sets the selector property value. The service selector.
      Parameters:
      value - Value to set for the selector property.
    • setServicePorts

      public void setServicePorts(@Nullable List<KubernetesServicePort> value)
      Sets the servicePorts property value. The list of service ports.
      Parameters:
      value - Value to set for the servicePorts property.
    • setServiceType

      public void setServiceType(@Nullable KubernetesServiceType value)
      Sets the serviceType property value. The serviceType property
      Parameters:
      value - Value to set for the serviceType property.