SapSizingRecommendationRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.workloadssapvirtualinstance.models.SapSizingRecommendationRequest

Implements

public final class SapSizingRecommendationRequest
implements JsonSerializable<SapSizingRecommendationRequest>

The SAP Sizing Recommendation request.

Constructor Summary

Constructor Description
SapSizingRecommendationRequest()

Creates an instance of SapSizingRecommendationRequest class.

Method Summary

Modifier and Type Method and Description
String appLocation()

Get the appLocation property: The geo-location where the resource is to be created.

SapDatabaseType databaseType()

Get the databaseType property: The database type.

long dbMemory()

Get the dbMemory property: The database memory configuration.

SapDatabaseScaleMethod dbScaleMethod()

Get the dbScaleMethod property: The DB scale method.

SapDeploymentType deploymentType()

Get the deploymentType property: The deployment type.

SapEnvironmentType environment()

Get the environment property: Defines the environment type - Production/Non Production.

static SapSizingRecommendationRequest fromJson(JsonReader jsonReader)

Reads an instance of SapSizingRecommendationRequest from the JsonReader.

SapHighAvailabilityType highAvailabilityType()

Get the highAvailabilityType property: The high availability type.

SapProductType sapProduct()

Get the sapProduct property: Defines the SAP Product type.

long saps()

Get the saps property: The SAP Application Performance Standard measurement.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SapSizingRecommendationRequest withAppLocation(String appLocation)

Set the appLocation property: The geo-location where the resource is to be created.

SapSizingRecommendationRequest withDatabaseType(SapDatabaseType databaseType)

Set the databaseType property: The database type.

SapSizingRecommendationRequest withDbMemory(long dbMemory)

Set the dbMemory property: The database memory configuration.

SapSizingRecommendationRequest withDbScaleMethod(SapDatabaseScaleMethod dbScaleMethod)

Set the dbScaleMethod property: The DB scale method.

SapSizingRecommendationRequest withDeploymentType(SapDeploymentType deploymentType)

Set the deploymentType property: The deployment type.

SapSizingRecommendationRequest withEnvironment(SapEnvironmentType environment)

Set the environment property: Defines the environment type - Production/Non Production.

SapSizingRecommendationRequest withHighAvailabilityType(SapHighAvailabilityType highAvailabilityType)

Set the highAvailabilityType property: The high availability type.

SapSizingRecommendationRequest withSapProduct(SapProductType sapProduct)

Set the sapProduct property: Defines the SAP Product type.

SapSizingRecommendationRequest withSaps(long saps)

Set the saps property: The SAP Application Performance Standard measurement.

Methods inherited from java.lang.Object

Constructor Details

SapSizingRecommendationRequest

public SapSizingRecommendationRequest()

Creates an instance of SapSizingRecommendationRequest class.

Method Details

appLocation

public String appLocation()

Get the appLocation property: The geo-location where the resource is to be created.

Returns:

the appLocation value.

databaseType

public SapDatabaseType databaseType()

Get the databaseType property: The database type.

Returns:

the databaseType value.

dbMemory

public long dbMemory()

Get the dbMemory property: The database memory configuration.

Returns:

the dbMemory value.

dbScaleMethod

public SapDatabaseScaleMethod dbScaleMethod()

Get the dbScaleMethod property: The DB scale method.

Returns:

the dbScaleMethod value.

deploymentType

public SapDeploymentType deploymentType()

Get the deploymentType property: The deployment type. Eg: SingleServer/ThreeTier.

Returns:

the deploymentType value.

environment

public SapEnvironmentType environment()

Get the environment property: Defines the environment type - Production/Non Production.

Returns:

the environment value.

fromJson

public static SapSizingRecommendationRequest fromJson(JsonReader jsonReader)

Reads an instance of SapSizingRecommendationRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SapSizingRecommendationRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

highAvailabilityType

public SapHighAvailabilityType highAvailabilityType()

Get the highAvailabilityType property: The high availability type.

Returns:

the highAvailabilityType value.

sapProduct

public SapProductType sapProduct()

Get the sapProduct property: Defines the SAP Product type.

Returns:

the sapProduct value.

saps

public long saps()

Get the saps property: The SAP Application Performance Standard measurement.

Returns:

the saps value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAppLocation

public SapSizingRecommendationRequest withAppLocation(String appLocation)

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.

withDatabaseType

public SapSizingRecommendationRequest withDatabaseType(SapDatabaseType databaseType)

Set the databaseType property: The database type.

Parameters:

databaseType - the databaseType value to set.

Returns:

the SapSizingRecommendationRequest object itself.

withDbMemory

public SapSizingRecommendationRequest withDbMemory(long dbMemory)

Set the dbMemory property: The database memory configuration.

Parameters:

dbMemory - the dbMemory value to set.

Returns:

the SapSizingRecommendationRequest object itself.

withDbScaleMethod

public SapSizingRecommendationRequest withDbScaleMethod(SapDatabaseScaleMethod dbScaleMethod)

Set the dbScaleMethod property: The DB scale method.

Parameters:

dbScaleMethod - the dbScaleMethod value to set.

Returns:

the SapSizingRecommendationRequest object itself.

withDeploymentType

public SapSizingRecommendationRequest withDeploymentType(SapDeploymentType deploymentType)

Set the deploymentType property: The deployment type. Eg: SingleServer/ThreeTier.

Parameters:

deploymentType - the deploymentType value to set.

Returns:

the SapSizingRecommendationRequest object itself.

withEnvironment

public SapSizingRecommendationRequest withEnvironment(SapEnvironmentType environment)

Set the environment property: Defines the environment type - Production/Non Production.

Parameters:

environment - the environment value to set.

Returns:

the SapSizingRecommendationRequest object itself.

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.

withSapProduct

public SapSizingRecommendationRequest withSapProduct(SapProductType sapProduct)

Set the sapProduct property: Defines the SAP Product type.

Parameters:

sapProduct - the sapProduct value to set.

Returns:

the SapSizingRecommendationRequest object itself.

withSaps

public SapSizingRecommendationRequest withSaps(long saps)

Set the saps property: The SAP Application Performance Standard measurement.

Parameters:

saps - the saps value to set.

Returns:

the SapSizingRecommendationRequest object itself.

Applies to