PolicyContractInner Class

public final class PolicyContractInner
extends ProxyResource

Policy Contract details.

Constructor Summary

Constructor Description
PolicyContractInner()

Creates an instance of PolicyContractInner class.

Method Summary

Modifier and Type Method and Description
PolicyContentFormat format()

Get the format property: Format of the policyContent.

void validate()

Validates the instance.

String value()

Get the value property: Contents of the Policy as defined by the format.

PolicyContractInner withFormat(PolicyContentFormat format)

Set the format property: Format of the policyContent.

PolicyContractInner withValue(String value)

Set the value property: Contents of the Policy as defined by the format.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

PolicyContractInner

public PolicyContractInner()

Creates an instance of PolicyContractInner class.

Method Details

format

public PolicyContentFormat format()

Get the format property: Format of the policyContent.

Returns:

the format value.

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Contents of the Policy as defined by the format.

Returns:

the value value.

withFormat

public PolicyContractInner withFormat(PolicyContentFormat format)

Set the format property: Format of the policyContent.

Parameters:

format - the format value to set.

Returns:

the PolicyContractInner object itself.

withValue

public PolicyContractInner withValue(String value)

Set the value property: Contents of the Policy as defined by the format.

Parameters:

value - the value value to set.

Returns:

the PolicyContractInner object itself.

Applies to