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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.security.AlertEvidence
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KubernetesServiceEvidencecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the clusterIP property value.Gets the externalIPs property value.The deserialization information for the current modelGets the labels property value.getName()Gets the name property value.Gets the namespace property value.Gets the selector property value.Gets the servicePorts property value.Gets the serviceType property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetClusterIP(IpEvidence value) Sets the clusterIP property value.voidsetExternalIPs(List<IpEvidence> value) Sets the externalIPs property value.voidsetLabels(Dictionary value) Sets the labels property value.voidSets the name property value.voidSets the namespace property value.voidsetSelector(Dictionary value) Sets the selector property value.voidsetServicePorts(List<KubernetesServicePort> value) Sets the servicePorts property value.voidSets the serviceType 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
-
KubernetesServiceEvidence
public KubernetesServiceEvidence()Instantiates a newKubernetesServiceEvidenceand 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
Gets the clusterIP property value. The service cluster IP.- Returns:
- a
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classAlertEvidence- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLabels
Gets the labels property value. The service labels.- Returns:
- a
Dictionary
-
getName
Gets the name property value. The service name.- Returns:
- a
String
-
getNamespace
Gets the namespace property value. The service namespace.- Returns:
- a
KubernetesNamespaceEvidence
-
getSelector
Gets the selector property value. The service selector.- Returns:
- a
Dictionary
-
getServicePorts
Gets the servicePorts property value. The list of service ports.- Returns:
- a
List<KubernetesServicePort>
-
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classAlertEvidence- Parameters:
writer- Serialization writer to use to serialize this model
-
setClusterIP
Sets the clusterIP property value. The service cluster IP.- Parameters:
value- Value to set for the clusterIP property.
-
setExternalIPs
Sets the externalIPs property value. The service external IPs.- Parameters:
value- Value to set for the externalIPs property.
-
setLabels
Sets the labels property value. The service labels.- Parameters:
value- Value to set for the labels property.
-
setName
Sets the name property value. The service name.- Parameters:
value- Value to set for the name property.
-
setNamespace
Sets the namespace property value. The service namespace.- Parameters:
value- Value to set for the namespace property.
-
setSelector
Sets the selector property value. The service selector.- Parameters:
value- Value to set for the selector property.
-
setServicePorts
Sets the servicePorts property value. The list of service ports.- Parameters:
value- Value to set for the servicePorts property.
-
setServiceType
Sets the serviceType property value. The serviceType property- Parameters:
value- Value to set for the serviceType property.
-