Class GatewayContractInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.apimanagement.fluent.models.GatewayContractInner
-
public final class GatewayContractInner extends com.azure.core.management.ProxyResource
Gateway details.
-
-
Constructor Summary
Constructors Constructor Description GatewayContractInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: Gateway description.ResourceLocationDataContract
locationData()
Get the locationData property: Gateway location.void
validate()
Validates the instance.GatewayContractInner
withDescription(String description)
Set the description property: Gateway description.GatewayContractInner
withLocationData(ResourceLocationDataContract locationData)
Set the locationData property: Gateway location.
-
-
-
Method Detail
-
locationData
public ResourceLocationDataContract locationData()
Get the locationData property: Gateway location.- Returns:
- the locationData value.
-
withLocationData
public GatewayContractInner withLocationData(ResourceLocationDataContract locationData)
Set the locationData property: Gateway location.- Parameters:
locationData
- the locationData value to set.- Returns:
- the GatewayContractInner object itself.
-
description
public String description()
Get the description property: Gateway description.- Returns:
- the description value.
-
withDescription
public GatewayContractInner withDescription(String description)
Set the description property: Gateway description.- Parameters:
description
- the description value to set.- Returns:
- the GatewayContractInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-