Class GatewayContractProperties
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.fluent.models.GatewayContractProperties
-
public final class GatewayContractProperties extends Object
Properties of the Gateway contract.
-
-
Constructor Summary
Constructors Constructor Description GatewayContractProperties()
-
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.GatewayContractProperties
withDescription(String description)
Set the description property: Gateway description.GatewayContractProperties
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 GatewayContractProperties withLocationData(ResourceLocationDataContract locationData)
Set the locationData property: Gateway location.- Parameters:
locationData
- the locationData value to set.- Returns:
- the GatewayContractProperties object itself.
-
description
public String description()
Get the description property: Gateway description.- Returns:
- the description value.
-
withDescription
public GatewayContractProperties withDescription(String description)
Set the description property: Gateway description.- Parameters:
description
- the description value to set.- Returns:
- the GatewayContractProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-