ComponentStateDetails Class
- java.
lang. Object - com.
azure. resourcemanager. policyinsights. models. ComponentStateDetails
- com.
public final class ComponentStateDetails
Component state details.
Constructor Summary
Constructor | Description |
---|---|
ComponentStateDetails() |
Creates an instance of Component |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
complianceState()
Get the compliance |
String |
id()
Get the id property: Component Id. |
String |
name()
Get the name property: Component name. |
Offset |
timestamp()
Get the timestamp property: Component compliance evaluation timestamp. |
String |
type()
Get the type property: Component type. |
void |
validate()
Validates the instance. |
Component |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Component |
withComplianceState(String complianceState)
Set the compliance |
Component |
withId(String id)
Set the id property: Component Id. |
Component |
withName(String name)
Set the name property: Component name. |
Component |
withTimestamp(OffsetDateTime timestamp)
Set the timestamp property: Component compliance evaluation timestamp. |
Component |
withType(String type)
Set the type property: Component type. |
Methods inherited from java.lang.Object
Constructor Details
ComponentStateDetails
public ComponentStateDetails()
Creates an instance of ComponentStateDetails class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: Component state details.
Returns:
complianceState
public String complianceState()
Get the complianceState property: Component compliance state.
Returns:
id
public String id()
Get the id property: Component Id.
Returns:
name
public String name()
Get the name property: Component name.
Returns:
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: Component compliance evaluation timestamp.
Returns:
type
public String type()
Get the type property: Component type.
Returns:
validate
public void validate()
Validates the instance.
withAdditionalProperties
public ComponentStateDetails withAdditionalProperties(Map
Set the additionalProperties property: Component state details.
Parameters:
Returns:
withComplianceState
public ComponentStateDetails withComplianceState(String complianceState)
Set the complianceState property: Component compliance state.
Parameters:
Returns:
withId
public ComponentStateDetails withId(String id)
Set the id property: Component Id.
Parameters:
Returns:
withName
public ComponentStateDetails withName(String name)
Set the name property: Component name.
Parameters:
Returns:
withTimestamp
public ComponentStateDetails withTimestamp(OffsetDateTime timestamp)
Set the timestamp property: Component compliance evaluation timestamp.
Parameters:
Returns:
withType
public ComponentStateDetails withType(String type)
Set the type property: Component type.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for