Class OutboundEndpointInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.dnsresolver.fluent.models.OutboundEndpointInner
public final class OutboundEndpointInner
extends com.azure.core.management.Resource
Describes an outbound endpoint for a DNS resolver.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionetag()
Get the etag property: ETag of the outbound endpoint.Get the provisioningState property: The current provisioning state of the outbound endpoint.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.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.withLocation
(String location) withSubnet
(com.azure.core.management.SubResource subnet) Set the subnet property: The reference to the subnet used for the outbound endpoint.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
OutboundEndpointInner
public OutboundEndpointInner()
-
-
Method Details
-
etag
Get the etag property: ETag of the outbound endpoint.- Returns:
- the etag value.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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
Set the subnet property: The reference to the subnet used for the outbound endpoint.- Parameters:
subnet
- the subnet value to set.- Returns:
- the OutboundEndpointInner object itself.
-
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
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.
-