Class ServiceResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.cosmos.models.ArmProxyResource
com.azure.resourcemanager.cosmos.fluent.models.ServiceResourceInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Properties for the database account.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the properties property: Services response resource.voidvalidate()Validates the instance.withProperties(ServiceResourceProperties properties) Set the properties property: Services response resource.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
ServiceResourceInner
public ServiceResourceInner()Creates an instance of ServiceResourceInner class.
-
-
Method Details
-
properties
Get the properties property: Services response resource.- Returns:
- the properties value.
-
withProperties
Set the properties property: Services response resource.- Parameters:
properties- the properties value to set.- Returns:
- the ServiceResourceInner object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classArmProxyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-