SapDiskConfigurationsRequest Class

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

Implements

public final class SapDiskConfigurationsRequest
implements JsonSerializable<SapDiskConfigurationsRequest>

The SAP request to get list of disk configurations.

Constructor Summary

Constructor Description
SapDiskConfigurationsRequest()

Creates an instance of SapDiskConfigurationsRequest class.

Method Summary

Modifier and Type Method and Description
String appLocation()

Get the appLocation property: The geo-location where the SAP resources will be created.

SapDatabaseType databaseType()

Get the databaseType property: The database type.

String dbVmSku()

Get the dbVmSku property: The VM SKU for database instance.

SapDeploymentType deploymentType()

Get the deploymentType property: The deployment type.

SapEnvironmentType environment()

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

static SapDiskConfigurationsRequest fromJson(JsonReader jsonReader)

Reads an instance of SapDiskConfigurationsRequest from the JsonReader.

SapProductType sapProduct()

Get the sapProduct property: Defines the SAP Product type.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SapDiskConfigurationsRequest withAppLocation(String appLocation)

Set the appLocation property: The geo-location where the SAP resources will be created.

SapDiskConfigurationsRequest withDatabaseType(SapDatabaseType databaseType)

Set the databaseType property: The database type.

SapDiskConfigurationsRequest withDbVmSku(String dbVmSku)

Set the dbVmSku property: The VM SKU for database instance.

SapDiskConfigurationsRequest withDeploymentType(SapDeploymentType deploymentType)

Set the deploymentType property: The deployment type.

SapDiskConfigurationsRequest withEnvironment(SapEnvironmentType environment)

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

SapDiskConfigurationsRequest withSapProduct(SapProductType sapProduct)

Set the sapProduct property: Defines the SAP Product type.

Methods inherited from java.lang.Object

Constructor Details

SapDiskConfigurationsRequest

public SapDiskConfigurationsRequest()

Creates an instance of SapDiskConfigurationsRequest class.

Method Details

appLocation

public String appLocation()

Get the appLocation property: The geo-location where the SAP resources will be created.

Returns:

the appLocation value.

databaseType

public SapDatabaseType databaseType()

Get the databaseType property: The database type. Eg: HANA, DB2, etc.

Returns:

the databaseType value.

dbVmSku

public String dbVmSku()

Get the dbVmSku property: The VM SKU for database instance.

Returns:

the dbVmSku 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 SapDiskConfigurationsRequest fromJson(JsonReader jsonReader)

Reads an instance of SapDiskConfigurationsRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SapDiskConfigurationsRequest 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.

sapProduct

public SapProductType sapProduct()

Get the sapProduct property: Defines the SAP Product type.

Returns:

the sapProduct value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAppLocation

public SapDiskConfigurationsRequest withAppLocation(String appLocation)

Set the appLocation property: The geo-location where the SAP resources will be created.

Parameters:

appLocation - the appLocation value to set.

Returns:

the SapDiskConfigurationsRequest object itself.

withDatabaseType

public SapDiskConfigurationsRequest withDatabaseType(SapDatabaseType databaseType)

Set the databaseType property: The database type. Eg: HANA, DB2, etc.

Parameters:

databaseType - the databaseType value to set.

Returns:

the SapDiskConfigurationsRequest object itself.

withDbVmSku

public SapDiskConfigurationsRequest withDbVmSku(String dbVmSku)

Set the dbVmSku property: The VM SKU for database instance.

Parameters:

dbVmSku - the dbVmSku value to set.

Returns:

the SapDiskConfigurationsRequest object itself.

withDeploymentType

public SapDiskConfigurationsRequest withDeploymentType(SapDeploymentType deploymentType)

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

Parameters:

deploymentType - the deploymentType value to set.

Returns:

the SapDiskConfigurationsRequest object itself.

withEnvironment

public SapDiskConfigurationsRequest withEnvironment(SapEnvironmentType environment)

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

Parameters:

environment - the environment value to set.

Returns:

the SapDiskConfigurationsRequest object itself.

withSapProduct

public SapDiskConfigurationsRequest withSapProduct(SapProductType sapProduct)

Set the sapProduct property: Defines the SAP Product type.

Parameters:

sapProduct - the sapProduct value to set.

Returns:

the SapDiskConfigurationsRequest object itself.

Applies to