public class ServiceEndpointPolicyDefinitionInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
ServiceEndpointPolicyDefinitionInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Get the description property: A description for this rule.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
name()
Get the name property: The name of the resource that is unique within a resource group.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the service endpoint policy definition resource.
|
String |
service()
Get the service property: Service endpoint name.
|
List<String> |
serviceResources()
Get the serviceResources property: A list of service resources.
|
void |
validate()
Validates the instance.
|
ServiceEndpointPolicyDefinitionInner |
withDescription(String description)
Set the description property: A description for this rule.
|
ServiceEndpointPolicyDefinitionInner |
withId(String id) |
ServiceEndpointPolicyDefinitionInner |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group.
|
ServiceEndpointPolicyDefinitionInner |
withService(String service)
Set the service property: Service endpoint name.
|
ServiceEndpointPolicyDefinitionInner |
withServiceResources(List<String> serviceResources)
Set the serviceResources property: A list of service resources.
|
public ServiceEndpointPolicyDefinitionInner()
public String name()
public ServiceEndpointPolicyDefinitionInner withName(String name)
name - the name value to set.public String etag()
public String description()
public ServiceEndpointPolicyDefinitionInner withDescription(String description)
description - the description value to set.public String service()
public ServiceEndpointPolicyDefinitionInner withService(String service)
service - the service value to set.public List<String> serviceResources()
public ServiceEndpointPolicyDefinitionInner withServiceResources(List<String> serviceResources)
serviceResources - the serviceResources value to set.public ProvisioningState provisioningState()
public ServiceEndpointPolicyDefinitionInner withId(String id)
withId in class com.azure.core.management.SubResourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.