Class MaterializedViewsBuilderServiceResourceCreateUpdateParameters
java.lang.Object
com.azure.resourcemanager.cosmos.models.ServiceResourceCreateUpdateProperties
com.azure.resourcemanager.cosmos.models.MaterializedViewsBuilderServiceResourceCreateUpdateParameters
public final class MaterializedViewsBuilderServiceResourceCreateUpdateParameters
extends ServiceResourceCreateUpdateProperties
Parameters for Create or Update request for MaterializedViewsBuilderServiceResource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MaterializedViewsBuilderServiceResourceCreateUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the serviceType property: ServiceType for the service.voidvalidate()Validates the instance.withInstanceCount(Integer instanceCount) Set the instanceCount property: Instance count for the service.withInstanceSize(ServiceSize instanceSize) Set the instanceSize property: Instance type for the service.Methods inherited from class com.azure.resourcemanager.cosmos.models.ServiceResourceCreateUpdateProperties
instanceCount, instanceSize
-
Constructor Details
-
MaterializedViewsBuilderServiceResourceCreateUpdateParameters
public MaterializedViewsBuilderServiceResourceCreateUpdateParameters()Creates an instance of MaterializedViewsBuilderServiceResourceCreateUpdateParameters class.
-
-
Method Details
-
serviceType
Get the serviceType property: ServiceType for the service.- Overrides:
serviceTypein classServiceResourceCreateUpdateProperties- Returns:
- the serviceType value.
-
withInstanceSize
public MaterializedViewsBuilderServiceResourceCreateUpdateParameters withInstanceSize(ServiceSize instanceSize) Set the instanceSize property: Instance type for the service.- Overrides:
withInstanceSizein classServiceResourceCreateUpdateProperties- Parameters:
instanceSize- the instanceSize value to set.- Returns:
- the ServiceResourceCreateUpdateProperties object itself.
-
withInstanceCount
public MaterializedViewsBuilderServiceResourceCreateUpdateParameters withInstanceCount(Integer instanceCount) Set the instanceCount property: Instance count for the service.- Overrides:
withInstanceCountin classServiceResourceCreateUpdateProperties- Parameters:
instanceCount- the instanceCount value to set.- Returns:
- the ServiceResourceCreateUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classServiceResourceCreateUpdateProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-