Class SapSizingRecommendationRequest
java.lang.Object
com.azure.resourcemanager.workloads.models.SapSizingRecommendationRequest
The SAP Sizing Recommendation request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the appLocation property: The geo-location where the resource is to be created.Get the databaseType property: The database type.long
dbMemory()
Get the dbMemory property: The database memory configuration.Get the dbScaleMethod property: The DB scale method.Get the deploymentType property: The deployment type.Get the environment property: Defines the environment type - Production/Non Production.Get the highAvailabilityType property: The high availability type.Get the sapProduct property: Defines the SAP Product type.long
saps()
Get the saps property: The SAP Application Performance Standard measurement.void
validate()
Validates the instance.withAppLocation
(String appLocation) Set the appLocation property: The geo-location where the resource is to be created.withDatabaseType
(SapDatabaseType databaseType) Set the databaseType property: The database type.withDbMemory
(long dbMemory) Set the dbMemory property: The database memory configuration.withDbScaleMethod
(SapDatabaseScaleMethod dbScaleMethod) Set the dbScaleMethod property: The DB scale method.withDeploymentType
(SapDeploymentType deploymentType) Set the deploymentType property: The deployment type.withEnvironment
(SapEnvironmentType environment) Set the environment property: Defines the environment type - Production/Non Production.withHighAvailabilityType
(SapHighAvailabilityType highAvailabilityType) Set the highAvailabilityType property: The high availability type.withSapProduct
(SapProductType sapProduct) Set the sapProduct property: Defines the SAP Product type.withSaps
(long saps) Set the saps property: The SAP Application Performance Standard measurement.
-
Constructor Details
-
SapSizingRecommendationRequest
public SapSizingRecommendationRequest()
-
-
Method Details
-
appLocation
Get the appLocation property: The geo-location where the resource is to be created.- Returns:
- the appLocation value.
-
withAppLocation
Set the appLocation property: The geo-location where the resource is to be created.- Parameters:
appLocation
- the appLocation value to set.- Returns:
- the SapSizingRecommendationRequest object itself.
-
environment
Get the environment property: Defines the environment type - Production/Non Production.- Returns:
- the environment value.
-
withEnvironment
Set the environment property: Defines the environment type - Production/Non Production.- Parameters:
environment
- the environment value to set.- Returns:
- the SapSizingRecommendationRequest object itself.
-
sapProduct
Get the sapProduct property: Defines the SAP Product type.- Returns:
- the sapProduct value.
-
withSapProduct
Set the sapProduct property: Defines the SAP Product type.- Parameters:
sapProduct
- the sapProduct value to set.- Returns:
- the SapSizingRecommendationRequest object itself.
-
deploymentType
Get the deploymentType property: The deployment type. Eg: SingleServer/ThreeTier.- Returns:
- the deploymentType value.
-
withDeploymentType
Set the deploymentType property: The deployment type. Eg: SingleServer/ThreeTier.- Parameters:
deploymentType
- the deploymentType value to set.- Returns:
- the SapSizingRecommendationRequest object itself.
-
saps
public long saps()Get the saps property: The SAP Application Performance Standard measurement.- Returns:
- the saps value.
-
withSaps
Set the saps property: The SAP Application Performance Standard measurement.- Parameters:
saps
- the saps value to set.- Returns:
- the SapSizingRecommendationRequest object itself.
-
dbMemory
public long dbMemory()Get the dbMemory property: The database memory configuration.- Returns:
- the dbMemory value.
-
withDbMemory
Set the dbMemory property: The database memory configuration.- Parameters:
dbMemory
- the dbMemory value to set.- Returns:
- the SapSizingRecommendationRequest object itself.
-
databaseType
Get the databaseType property: The database type.- Returns:
- the databaseType value.
-
withDatabaseType
Set the databaseType property: The database type.- Parameters:
databaseType
- the databaseType value to set.- Returns:
- the SapSizingRecommendationRequest object itself.
-
dbScaleMethod
Get the dbScaleMethod property: The DB scale method.- Returns:
- the dbScaleMethod value.
-
withDbScaleMethod
Set the dbScaleMethod property: The DB scale method.- Parameters:
dbScaleMethod
- the dbScaleMethod value to set.- Returns:
- the SapSizingRecommendationRequest object itself.
-
highAvailabilityType
Get the highAvailabilityType property: The high availability type.- Returns:
- the highAvailabilityType value.
-
withHighAvailabilityType
public SapSizingRecommendationRequest withHighAvailabilityType(SapHighAvailabilityType highAvailabilityType) Set the highAvailabilityType property: The high availability type.- Parameters:
highAvailabilityType
- the highAvailabilityType value to set.- Returns:
- the SapSizingRecommendationRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-