Class CheckZonePeersRequest
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.CheckZonePeersRequest
-
public final class CheckZonePeersRequest extends Object
Check zone peers request parameters.
-
-
Constructor Summary
Constructors Constructor Description CheckZonePeersRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringlocation()Get the location property: The Microsoft location.List<String>subscriptionIds()Get the subscriptionIds property: The peer Microsoft Azure subscription ID.voidvalidate()Validates the instance.CheckZonePeersRequestwithLocation(String location)Set the location property: The Microsoft location.CheckZonePeersRequestwithSubscriptionIds(List<String> subscriptionIds)Set the subscriptionIds property: The peer Microsoft Azure subscription ID.
-
-
-
Method Detail
-
location
public String location()
Get the location property: The Microsoft location.- Returns:
- the location value.
-
withLocation
public CheckZonePeersRequest withLocation(String location)
Set the location property: The Microsoft location.- Parameters:
location- the location value to set.- Returns:
- the CheckZonePeersRequest object itself.
-
subscriptionIds
public List<String> subscriptionIds()
Get the subscriptionIds property: The peer Microsoft Azure subscription ID.- Returns:
- the subscriptionIds value.
-
withSubscriptionIds
public CheckZonePeersRequest withSubscriptionIds(List<String> subscriptionIds)
Set the subscriptionIds property: The peer Microsoft Azure subscription ID.- Parameters:
subscriptionIds- the subscriptionIds value to set.- Returns:
- the CheckZonePeersRequest object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-