Class ThreeTierFullResourceNames
java.lang.Object
com.azure.resourcemanager.workloads.models.ThreeTierCustomResourceNames
com.azure.resourcemanager.workloads.models.ThreeTierFullResourceNames
The resource name object where the specified values will be full resource names of the corresponding resources in a
three tier SAP system.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ThreeTierFullResourceNames class. -
Method Summary
Modifier and TypeMethodDescriptionGet the applicationServer property: The full resource names object for application layer resources.Get the centralServer property: The full resource names object for central server layer resources.Get the databaseServer property: The full resource names object for database layer resources.Get the sharedStorage property: The resource names object for shared storage.void
validate()
Validates the instance.withApplicationServer
(ApplicationServerFullResourceNames applicationServer) Set the applicationServer property: The full resource names object for application layer resources.withCentralServer
(CentralServerFullResourceNames centralServer) Set the centralServer property: The full resource names object for central server layer resources.withDatabaseServer
(DatabaseServerFullResourceNames databaseServer) Set the databaseServer property: The full resource names object for database layer resources.withSharedStorage
(SharedStorageResourceNames sharedStorage) Set the sharedStorage property: The resource names object for shared storage.
-
Constructor Details
-
ThreeTierFullResourceNames
public ThreeTierFullResourceNames()Creates an instance of ThreeTierFullResourceNames class.
-
-
Method Details
-
centralServer
Get the centralServer property: The full resource names object for central server layer resources.- Returns:
- the centralServer value.
-
withCentralServer
Set the centralServer property: The full resource names object for central server layer resources.- Parameters:
centralServer
- the centralServer value to set.- Returns:
- the ThreeTierFullResourceNames object itself.
-
applicationServer
Get the applicationServer property: The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.- Returns:
- the applicationServer value.
-
withApplicationServer
public ThreeTierFullResourceNames withApplicationServer(ApplicationServerFullResourceNames applicationServer) Set the applicationServer property: The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.- Parameters:
applicationServer
- the applicationServer value to set.- Returns:
- the ThreeTierFullResourceNames object itself.
-
databaseServer
Get the databaseServer property: The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.- Returns:
- the databaseServer value.
-
withDatabaseServer
public ThreeTierFullResourceNames withDatabaseServer(DatabaseServerFullResourceNames databaseServer) Set the databaseServer property: The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.- Parameters:
databaseServer
- the databaseServer value to set.- Returns:
- the ThreeTierFullResourceNames object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classThreeTierCustomResourceNames
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-