ComponentStateDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.policyinsights.models.ComponentStateDetails

public final class ComponentStateDetails

Component state details.

Constructor Summary

Constructor Description
ComponentStateDetails()

Creates an instance of ComponentStateDetails class.

Method Summary

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.

Methods inherited from java.lang.Object

Constructor Details

ComponentStateDetails

public ComponentStateDetails()

Creates an instance of ComponentStateDetails class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: Component state details.

Returns:

the additionalProperties value.

complianceState

public String complianceState()

Get the complianceState property: Component compliance state.

Returns:

the complianceState value.

id

public String id()

Get the id property: Component Id.

Returns:

the id value.

name

public String name()

Get the name property: Component name.

Returns:

the name value.

timestamp

public OffsetDateTime timestamp()

Get the timestamp property: Component compliance evaluation timestamp.

Returns:

the timestamp value.

type

public String type()

Get the type property: Component type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public ComponentStateDetails withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Component state details.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the ComponentStateDetails object itself.

withComplianceState

public ComponentStateDetails withComplianceState(String complianceState)

Set the complianceState property: Component compliance state.

Parameters:

complianceState - the complianceState value to set.

Returns:

the ComponentStateDetails object itself.

withId

public ComponentStateDetails withId(String id)

Set the id property: Component Id.

Parameters:

id - the id value to set.

Returns:

the ComponentStateDetails object itself.

withName

public ComponentStateDetails withName(String name)

Set the name property: Component name.

Parameters:

name - the name value to set.

Returns:

the ComponentStateDetails object itself.

withTimestamp

public ComponentStateDetails withTimestamp(OffsetDateTime timestamp)

Set the timestamp property: Component compliance evaluation timestamp.

Parameters:

timestamp - the timestamp value to set.

Returns:

the ComponentStateDetails object itself.

withType

public ComponentStateDetails withType(String type)

Set the type property: Component type.

Parameters:

type - the type value to set.

Returns:

the ComponentStateDetails object itself.

Applies to