public final class ComponentStateDetails extends Object
Constructor and Description |
---|
ComponentStateDetails() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additionalProperties property: Component state details.
|
String |
complianceState()
Get the complianceState property: Component compliance state.
|
String |
id()
Get the id property: Component Id.
|
String |
name()
Get the name property: Component name.
|
OffsetDateTime |
timestamp()
Get the timestamp property: Component compliance evaluation timestamp.
|
String |
type()
Get the type property: Component type.
|
void |
validate()
Validates the instance.
|
ComponentStateDetails |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Component state details.
|
ComponentStateDetails |
withComplianceState(String complianceState)
Set the complianceState property: Component compliance state.
|
ComponentStateDetails |
withId(String id)
Set the id property: Component Id.
|
ComponentStateDetails |
withName(String name)
Set the name property: Component name.
|
ComponentStateDetails |
withTimestamp(OffsetDateTime timestamp)
Set the timestamp property: Component compliance evaluation timestamp.
|
ComponentStateDetails |
withType(String type)
Set the type property: Component type.
|
public String id()
public ComponentStateDetails withId(String id)
id
- the id value to set.public String type()
public ComponentStateDetails withType(String type)
type
- the type value to set.public String name()
public ComponentStateDetails withName(String name)
name
- the name value to set.public OffsetDateTime timestamp()
public ComponentStateDetails withTimestamp(OffsetDateTime timestamp)
timestamp
- the timestamp value to set.public String complianceState()
public ComponentStateDetails withComplianceState(String complianceState)
complianceState
- the complianceState value to set.public Map<String,Object> additionalProperties()
public ComponentStateDetails withAdditionalProperties(Map<String,Object> additionalProperties)
additionalProperties
- the additionalProperties value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.