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
Constructors Constructor Description OutboundEndpointInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
etag()
Get the etag property: ETag of the outbound endpoint.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.com.azure.core.management.SystemData
systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.OutboundEndpointInner
withLocation(String location)
OutboundEndpointInner
withSubnet(com.azure.core.management.SubResource subnet)
Set the subnet property: The reference to the subnet used for the outbound endpoint.OutboundEndpointInner
withTags(Map<String,String> tags)
-
-
-
Method Detail
-
etag
public String 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
public OutboundEndpointInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public OutboundEndpointInner withTags(Map<String,String> tags)
- 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
public OutboundEndpointInner 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 OutboundEndpointInner 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.
-
-