ServiceEndpointPolicyInner Class

public final class ServiceEndpointPolicyInner
extends Resource

Service End point policy resource.

Constructor Summary

Constructor Description
ServiceEndpointPolicyInner()

Creates an instance of ServiceEndpointPolicyInner class.

Method Summary

Modifier and Type Method and Description
List<String> contextualServiceEndpointPolicies()

Get the contextualServiceEndpointPolicies property: A collection of contextual service endpoint policy.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

String id()

Get the id property: Resource ID.

String kind()

Get the kind property: Kind of service endpoint policy.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the service endpoint policy resource.

String resourceGuid()

Get the resourceGuid property: The resource GUID property of the service endpoint policy resource.

String serviceAlias()

Get the serviceAlias property: The alias indicating if the policy belongs to a service.

List<ServiceEndpointPolicyDefinitionInner> serviceEndpointPolicyDefinitions()

Get the serviceEndpointPolicyDefinitions property: A collection of service endpoint policy definitions of the service endpoint policy.

List<SubnetInner> subnets()

Get the subnets property: A collection of references to subnets.

void validate()

Validates the instance.

ServiceEndpointPolicyInner withContextualServiceEndpointPolicies(List<String> contextualServiceEndpointPolicies)

Set the contextualServiceEndpointPolicies property: A collection of contextual service endpoint policy.

ServiceEndpointPolicyInner withId(String id)

Set the id property: Resource ID.

ServiceEndpointPolicyInner withLocation(String location)
ServiceEndpointPolicyInner withServiceAlias(String serviceAlias)

Set the serviceAlias property: The alias indicating if the policy belongs to a service.

ServiceEndpointPolicyInner withServiceEndpointPolicyDefinitions(List<ServiceEndpointPolicyDefinitionInner> serviceEndpointPolicyDefinitions)

Set the serviceEndpointPolicyDefinitions property: A collection of service endpoint policy definitions of the service endpoint policy.

ServiceEndpointPolicyInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ServiceEndpointPolicyInner

public ServiceEndpointPolicyInner()

Creates an instance of ServiceEndpointPolicyInner class.

Method Details

contextualServiceEndpointPolicies

public List contextualServiceEndpointPolicies()

Get the contextualServiceEndpointPolicies property: A collection of contextual service endpoint policy.

Returns:

the contextualServiceEndpointPolicies value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

id

public String id()

Get the id property: Resource ID.

Overrides:

ServiceEndpointPolicyInner.id()

Returns:

the id value.

kind

public String kind()

Get the kind property: Kind of service endpoint policy. This is metadata used for the Azure portal experience.

Returns:

the kind value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the service endpoint policy resource.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resource GUID property of the service endpoint policy resource.

Returns:

the resourceGuid value.

serviceAlias

public String serviceAlias()

Get the serviceAlias property: The alias indicating if the policy belongs to a service.

Returns:

the serviceAlias value.

serviceEndpointPolicyDefinitions

public List serviceEndpointPolicyDefinitions()

Get the serviceEndpointPolicyDefinitions property: A collection of service endpoint policy definitions of the service endpoint policy.

Returns:

the serviceEndpointPolicyDefinitions value.

subnets

public List subnets()

Get the subnets property: A collection of references to subnets.

Returns:

the subnets value.

validate

public void validate()

Validates the instance.

withContextualServiceEndpointPolicies

public ServiceEndpointPolicyInner withContextualServiceEndpointPolicies(List contextualServiceEndpointPolicies)

Set the contextualServiceEndpointPolicies property: A collection of contextual service endpoint policy.

Parameters:

contextualServiceEndpointPolicies - the contextualServiceEndpointPolicies value to set.

Returns:

the ServiceEndpointPolicyInner object itself.

withId

public ServiceEndpointPolicyInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the ServiceEndpointPolicyInner object itself.

withLocation

public ServiceEndpointPolicyInner withLocation(String location)

Overrides:

ServiceEndpointPolicyInner.withLocation(String location)

Parameters:

location

withServiceAlias

public ServiceEndpointPolicyInner withServiceAlias(String serviceAlias)

Set the serviceAlias property: The alias indicating if the policy belongs to a service.

Parameters:

serviceAlias - the serviceAlias value to set.

Returns:

the ServiceEndpointPolicyInner object itself.

withServiceEndpointPolicyDefinitions

public ServiceEndpointPolicyInner withServiceEndpointPolicyDefinitions(List serviceEndpointPolicyDefinitions)

Set the serviceEndpointPolicyDefinitions property: A collection of service endpoint policy definitions of the service endpoint policy.

Parameters:

serviceEndpointPolicyDefinitions - the serviceEndpointPolicyDefinitions value to set.

Returns:

the ServiceEndpointPolicyInner object itself.

withTags

public ServiceEndpointPolicyInner withTags(Map tags)

Overrides:

ServiceEndpointPolicyInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to