GatewayResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appplatform. fluent. models. GatewayResourceInner
- com.
- com.
public final class GatewayResourceInner
extends ProxyResource
Spring Cloud Gateway resource.
Constructor Summary
Constructor | Description |
---|---|
GatewayResourceInner() |
Creates an instance of Gateway |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Gateway |
fromJson(JsonReader jsonReader)
Reads an instance of Gateway |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Gateway |
properties()
Get the properties property: Spring Cloud Gateway properties payload. |
Sku |
sku()
Get the sku property: Sku of the Spring Cloud Gateway resource. |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Gateway |
withProperties(GatewayProperties properties)
Set the properties property: Spring Cloud Gateway properties payload. |
Gateway |
withSku(Sku sku)
Set the sku property: Sku of the Spring Cloud Gateway resource. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
GatewayResourceInner
public GatewayResourceInner()
Creates an instance of GatewayResourceInner class.
Method Details
fromJson
public static GatewayResourceInner fromJson(JsonReader jsonReader)
Reads an instance of GatewayResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
GatewayResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
GatewayResourceInner.name()Returns:
properties
public GatewayProperties properties()
Get the properties property: Spring Cloud Gateway properties payload.
Returns:
sku
public Sku sku()
Get the sku property: Sku of the Spring Cloud Gateway resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GatewayResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
GatewayResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withProperties
public GatewayResourceInner withProperties(GatewayProperties properties)
Set the properties property: Spring Cloud Gateway properties payload.
Parameters:
Returns:
withSku
public GatewayResourceInner withSku(Sku sku)
Set the sku property: Sku of the Spring Cloud Gateway resource.
Parameters:
Returns:
Applies to
Azure SDK for Java