Class OutboundEndpointProperties
- java.lang.Object
-
- com.azure.resourcemanager.dnsresolver.fluent.models.OutboundEndpointProperties
-
public final class OutboundEndpointProperties extends Object
Represents the properties of an outbound endpoint for a DNS resolver.
-
-
Constructor Summary
Constructors Constructor Description OutboundEndpointProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProvisioningState
provisioningState()
Get the provisioningState property: The current provisioning state of the outbound endpoint.String
resourceGuid()
Get the resourceGuid property: The resourceGuid property of the outbound endpoint resource.com.azure.core.management.SubResource
subnet()
Get the subnet property: The reference to the subnet used for the outbound endpoint.void
validate()
Validates the instance.OutboundEndpointProperties
withSubnet(com.azure.core.management.SubResource subnet)
Set the subnet property: The reference to the subnet used for the outbound endpoint.
-
-
-
Method Detail
-
subnet
public com.azure.core.management.SubResource subnet()
Get the subnet property: The reference to the subnet used for the outbound endpoint.- Returns:
- the subnet value.
-
withSubnet
public OutboundEndpointProperties withSubnet(com.azure.core.management.SubResource subnet)
Set the subnet property: The reference to the subnet used for the outbound endpoint.- Parameters:
subnet
- the subnet value to set.- Returns:
- the OutboundEndpointProperties object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The current provisioning state of the outbound endpoint. This is a read-only property and any attempt to set this value will be ignored.- Returns:
- the provisioningState value.
-
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resourceGuid property of the outbound endpoint resource.- Returns:
- the resourceGuid value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-