Class SqlDedicatedGatewayServiceResourceProperties
java.lang.Object
com.azure.resourcemanager.cosmos.models.ServiceResourceProperties
com.azure.resourcemanager.cosmos.models.SqlDedicatedGatewayServiceResourceProperties
Properties for SqlDedicatedGatewayServiceResource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SqlDedicatedGatewayServiceResourceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dedicatedGatewayType property: DedicatedGatewayType for the service.Get the locations property: An array that contains all of the locations for the service.Get the serviceType property: ServiceType for the service.Get the sqlDedicatedGatewayEndpoint property: SqlDedicatedGateway endpoint for the service.voidvalidate()Validates the instance.withDedicatedGatewayType(DedicatedGatewayType dedicatedGatewayType) Set the dedicatedGatewayType property: DedicatedGatewayType for the service.withInstanceCount(Integer instanceCount) Set the instanceCount property: Instance count for the service.withInstanceSize(ServiceSize instanceSize) Set the instanceSize property: Instance type for the service.withSqlDedicatedGatewayEndpoint(String sqlDedicatedGatewayEndpoint) Set the sqlDedicatedGatewayEndpoint property: SqlDedicatedGateway endpoint for the service.Methods inherited from class com.azure.resourcemanager.cosmos.models.ServiceResourceProperties
additionalProperties, creationTime, instanceCount, instanceSize, status, withAdditionalProperties
-
Constructor Details
-
SqlDedicatedGatewayServiceResourceProperties
public SqlDedicatedGatewayServiceResourceProperties()Creates an instance of SqlDedicatedGatewayServiceResourceProperties class.
-
-
Method Details
-
serviceType
Get the serviceType property: ServiceType for the service.- Overrides:
serviceTypein classServiceResourceProperties- Returns:
- the serviceType value.
-
sqlDedicatedGatewayEndpoint
Get the sqlDedicatedGatewayEndpoint property: SqlDedicatedGateway endpoint for the service.- Returns:
- the sqlDedicatedGatewayEndpoint value.
-
withSqlDedicatedGatewayEndpoint
public SqlDedicatedGatewayServiceResourceProperties withSqlDedicatedGatewayEndpoint(String sqlDedicatedGatewayEndpoint) Set the sqlDedicatedGatewayEndpoint property: SqlDedicatedGateway endpoint for the service.- Parameters:
sqlDedicatedGatewayEndpoint- the sqlDedicatedGatewayEndpoint value to set.- Returns:
- the SqlDedicatedGatewayServiceResourceProperties object itself.
-
dedicatedGatewayType
Get the dedicatedGatewayType property: DedicatedGatewayType for the service.- Returns:
- the dedicatedGatewayType value.
-
withDedicatedGatewayType
public SqlDedicatedGatewayServiceResourceProperties withDedicatedGatewayType(DedicatedGatewayType dedicatedGatewayType) Set the dedicatedGatewayType property: DedicatedGatewayType for the service.- Parameters:
dedicatedGatewayType- the dedicatedGatewayType value to set.- Returns:
- the SqlDedicatedGatewayServiceResourceProperties object itself.
-
locations
Get the locations property: An array that contains all of the locations for the service.- Returns:
- the locations value.
-
withInstanceSize
Set the instanceSize property: Instance type for the service.- Overrides:
withInstanceSizein classServiceResourceProperties- Parameters:
instanceSize- the instanceSize value to set.- Returns:
- the ServiceResourceProperties object itself.
-
withInstanceCount
Set the instanceCount property: Instance count for the service.- Overrides:
withInstanceCountin classServiceResourceProperties- Parameters:
instanceCount- the instanceCount value to set.- Returns:
- the ServiceResourceProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classServiceResourceProperties- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-