Class MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.migration_center_preference_set.MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences>
- Enclosing interface:
- MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences
@Stability(Stable) public static final class MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences.Builder extends Object implements software.amazon.jsii.Builder<MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesbuild()Builds the configured instance.MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences.BuilderlicenseType(String licenseType)MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences.BuildermachinePreferences(MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferences machinePreferences)
-
-
-
Method Detail
-
licenseType
@Stability(Stable) public MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences.Builder licenseType(String licenseType)
Sets the value ofMigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences.getLicenseType()- Parameters:
licenseType- License type to consider when calculating costs for virtual machine insights and recommendations. If unspecified, costs are calculated based on the default licensing plan. Possible values: 'LICENSE_TYPE_UNSPECIFIED', 'LICENSE_TYPE_DEFAULT', 'LICENSE_TYPE_BRING_YOUR_OWN_LICENSE' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/migration_center_preference_set#license_type MigrationCenterPreferenceSet#license_type}- Returns:
this
-
machinePreferences
@Stability(Stable) public MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences.Builder machinePreferences(MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferencesMachinePreferences machinePreferences)
Sets the value ofMigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences.getMachinePreferences()- Parameters:
machinePreferences- machine_preferences block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/migration_center_preference_set#machine_preferences MigrationCenterPreferenceSet#machine_preferences}- Returns:
this
-
build
@Stability(Stable) public MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences>- Returns:
- a new instance of
MigrationCenterPreferenceSetVirtualMachinePreferencesComputeEnginePreferences - Throws:
NullPointerException- if any required attribute was not provided
-
-