SubgroupProfile Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. SubgroupProfile
- com.
Implements
public final class SubgroupProfile
implements JsonSerializable<SubgroupProfile>
Subgroup profile of the interconnect group resource.
Constructor Summary
| Constructor | Description |
|---|---|
| SubgroupProfile() |
Creates an instance of Subgroup |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Subgroup |
fromJson(JsonReader jsonReader)
Reads an instance of Subgroup |
|
Subgroup |
scope()
Get the scope property: Scope of the subgroup profile. |
| Integer |
size()
Get the size property: Size of the subgroup profile. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
vmSize()
Get the vm |
|
Subgroup |
withScope(SubgroupProfileScope scope)
Set the scope property: Scope of the subgroup profile. |
|
Subgroup |
withSize(Integer size)
Set the size property: Size of the subgroup profile. |
|
Subgroup |
withVmSize(String vmSize)
Set the vm |
Methods inherited from java.lang.Object
Constructor Details
SubgroupProfile
public SubgroupProfile()
Creates an instance of SubgroupProfile class.
Method Details
fromJson
public static SubgroupProfile fromJson(JsonReader jsonReader)
Reads an instance of SubgroupProfile from the JsonReader.
Parameters:
Returns:
Throws:
scope
public SubgroupProfileScope scope()
Get the scope property: Scope of the subgroup profile.
Returns:
size
public Integer size()
Get the size property: Size of the subgroup profile.
Returns:
toJson
validate
public void validate()
Validates the instance.
vmSize
public String vmSize()
Get the vmSize property: VM size of the subgroup profile.
Returns:
withScope
public SubgroupProfile withScope(SubgroupProfileScope scope)
Set the scope property: Scope of the subgroup profile.
Parameters:
Returns:
withSize
public SubgroupProfile withSize(Integer size)
Set the size property: Size of the subgroup profile.
Parameters:
Returns:
withVmSize
public SubgroupProfile withVmSize(String vmSize)
Set the vmSize property: VM size of the subgroup profile.
Parameters:
Returns: