Class CloudServiceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.compute.fluent.models.CloudServiceInner
-
public final class CloudServiceInner extends com.azure.core.management.ResourceDescribes the cloud service.
-
-
Constructor Summary
Constructors Constructor Description CloudServiceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudServicePropertiesproperties()Get the properties property: Cloud service properties.voidvalidate()Validates the instance.CloudServiceInnerwithLocation(String location)CloudServiceInnerwithProperties(CloudServiceProperties properties)Set the properties property: Cloud service properties.CloudServiceInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
properties
public CloudServiceProperties properties()
Get the properties property: Cloud service properties.- Returns:
- the properties value.
-
withProperties
public CloudServiceInner withProperties(CloudServiceProperties properties)
Set the properties property: Cloud service properties.- Parameters:
properties- the properties value to set.- Returns:
- the CloudServiceInner object itself.
-
withLocation
public CloudServiceInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public CloudServiceInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-