SwapResourceInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. SwapResourceInner
- com.
Implements
public final class SwapResourceInner
implements JsonSerializable<SwapResourceInner>
SwapResource to represent slot type on the specified cloud service.
Constructor Summary
Constructor | Description |
---|---|
SwapResourceInner() |
Creates an instance of Swap |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Swap |
fromJson(JsonReader jsonReader)
Reads an instance of Swap |
String |
id()
Get the id property: Resource Id. |
String |
name()
Get the name property: Resource name. |
Swap |
properties()
Get the properties property: Swap resource properties. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
Swap |
withProperties(SwapResourceProperties properties)
Set the properties property: Swap resource properties. |
Methods inherited from java.lang.Object
Constructor Details
SwapResourceInner
public SwapResourceInner()
Creates an instance of SwapResourceInner class.
Method Details
fromJson
public static SwapResourceInner fromJson(JsonReader jsonReader)
Reads an instance of SwapResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource Id.
Returns:
name
public String name()
Get the name property: Resource name.
Returns:
properties
public SwapResourceProperties properties()
Get the properties property: Swap resource properties.
Returns:
toJson
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
withProperties
public SwapResourceInner withProperties(SwapResourceProperties properties)
Set the properties property: Swap resource properties.
Parameters:
Returns:
Applies to
Azure SDK for Java