GovernanceRuleOwnerSource Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.GovernanceRuleOwnerSource

public final class GovernanceRuleOwnerSource

Describe the owner source of governance rule.

Constructor Summary

Constructor Description
GovernanceRuleOwnerSource()

Creates an instance of GovernanceRuleOwnerSource class.

Method Summary

Modifier and Type Method and Description
GovernanceRuleOwnerSourceType type()

Get the type property: The owner type for the governance rule owner source.

void validate()

Validates the instance.

String value()

Get the value property: The source value e.g.

GovernanceRuleOwnerSource withType(GovernanceRuleOwnerSourceType type)

Set the type property: The owner type for the governance rule owner source.

GovernanceRuleOwnerSource withValue(String value)

Set the value property: The source value e.g.

Methods inherited from java.lang.Object

Constructor Details

GovernanceRuleOwnerSource

public GovernanceRuleOwnerSource()

Creates an instance of GovernanceRuleOwnerSource class.

Method Details

type

public GovernanceRuleOwnerSourceType type()

Get the type property: The owner type for the governance rule owner source.

Returns:

the type value.

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: The source value e.g. tag key like owner name or email address.

Returns:

the value value.

withType

public GovernanceRuleOwnerSource withType(GovernanceRuleOwnerSourceType type)

Set the type property: The owner type for the governance rule owner source.

Parameters:

type - the type value to set.

Returns:

the GovernanceRuleOwnerSource object itself.

withValue

public GovernanceRuleOwnerSource withValue(String value)

Set the value property: The source value e.g. tag key like owner name or email address.

Parameters:

value - the value value to set.

Returns:

the GovernanceRuleOwnerSource object itself.

Applies to