CloudServiceRoleProfileProperties Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. CloudServiceRoleProfileProperties
- com.
Implements
public final class CloudServiceRoleProfileProperties
implements JsonSerializable<CloudServiceRoleProfileProperties>
Describes the role properties.
Constructor Summary
Constructor | Description |
---|---|
CloudServiceRoleProfileProperties() |
Creates an instance of Cloud |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Cloud |
fromJson(JsonReader jsonReader)
Reads an instance of Cloud |
String |
name()
Get the name property: Resource name. |
Cloud |
sku()
Get the sku property: Describes the cloud service role sku. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Cloud |
withName(String name)
Set the name property: Resource name. |
Cloud |
withSku(CloudServiceRoleSku sku)
Set the sku property: Describes the cloud service role sku. |
Methods inherited from java.lang.Object
Constructor Details
CloudServiceRoleProfileProperties
public CloudServiceRoleProfileProperties()
Creates an instance of CloudServiceRoleProfileProperties class.
Method Details
fromJson
public static CloudServiceRoleProfileProperties fromJson(JsonReader jsonReader)
Reads an instance of CloudServiceRoleProfileProperties from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Resource name.
Returns:
sku
public CloudServiceRoleSku sku()
Get the sku property: Describes the cloud service role sku.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public CloudServiceRoleProfileProperties withName(String name)
Set the name property: Resource name.
Parameters:
Returns:
withSku
public CloudServiceRoleProfileProperties withSku(CloudServiceRoleSku sku)
Set the sku property: Describes the cloud service role sku.
Parameters:
Returns:
Applies to
Azure SDK for Java