Class ServiceEndpointPolicyDefinitionPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ServiceEndpointPolicyDefinitionPropertiesFormat
Service Endpoint policy definition resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServiceEndpointPolicyDefinitionPropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: A description for this rule.Get the provisioningState property: The provisioning state of the service endpoint policy definition resource.service()Get the service property: Service endpoint name.Get the serviceResources property: A list of service resources.voidvalidate()Validates the instance.withDescription(String description) Set the description property: A description for this rule.withService(String service) Set the service property: Service endpoint name.withServiceResources(List<String> serviceResources) Set the serviceResources property: A list of service resources.
-
Constructor Details
-
ServiceEndpointPolicyDefinitionPropertiesFormat
public ServiceEndpointPolicyDefinitionPropertiesFormat()Creates an instance of ServiceEndpointPolicyDefinitionPropertiesFormat class.
-
-
Method Details
-
description
Get the description property: A description for this rule. Restricted to 140 chars.- Returns:
- the description value.
-
withDescription
Set the description property: A description for this rule. Restricted to 140 chars.- Parameters:
description- the description value to set.- Returns:
- the ServiceEndpointPolicyDefinitionPropertiesFormat object itself.
-
service
Get the service property: Service endpoint name.- Returns:
- the service value.
-
withService
Set the service property: Service endpoint name.- Parameters:
service- the service value to set.- Returns:
- the ServiceEndpointPolicyDefinitionPropertiesFormat object itself.
-
serviceResources
Get the serviceResources property: A list of service resources.- Returns:
- the serviceResources value.
-
withServiceResources
public ServiceEndpointPolicyDefinitionPropertiesFormat withServiceResources(List<String> serviceResources) Set the serviceResources property: A list of service resources.- Parameters:
serviceResources- the serviceResources value to set.- Returns:
- the ServiceEndpointPolicyDefinitionPropertiesFormat object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the service endpoint policy definition resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-