Class ServiceResourceCreateUpdateParameters
java.lang.Object
com.azure.resourcemanager.cosmos.models.ServiceResourceCreateUpdateParameters
Parameters for Create or Update request for ServiceResource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServiceResourceCreateUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the properties property: Properties in ServiceResourceCreateUpdateParameters.voidvalidate()Validates the instance.withProperties(ServiceResourceCreateUpdateProperties properties) Set the properties property: Properties in ServiceResourceCreateUpdateParameters.
-
Constructor Details
-
ServiceResourceCreateUpdateParameters
public ServiceResourceCreateUpdateParameters()Creates an instance of ServiceResourceCreateUpdateParameters class.
-
-
Method Details
-
properties
Get the properties property: Properties in ServiceResourceCreateUpdateParameters.- Returns:
- the properties value.
-
withProperties
public ServiceResourceCreateUpdateParameters withProperties(ServiceResourceCreateUpdateProperties properties) Set the properties property: Properties in ServiceResourceCreateUpdateParameters.- Parameters:
properties- the properties value to set.- Returns:
- the ServiceResourceCreateUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-