Interface SoleTenancyPreferencesOrBuilder (0.28.0)

public interface SoleTenancyPreferencesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommitmentPlan()

public abstract SoleTenancyPreferences.CommitmentPlan getCommitmentPlan()

Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.

.google.cloud.migrationcenter.v1.SoleTenancyPreferences.CommitmentPlan commitment_plan = 3;

Returns
Type Description
SoleTenancyPreferences.CommitmentPlan

The commitmentPlan.

getCommitmentPlanValue()

public abstract int getCommitmentPlanValue()

Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.

.google.cloud.migrationcenter.v1.SoleTenancyPreferences.CommitmentPlan commitment_plan = 3;

Returns
Type Description
int

The enum numeric value on the wire for commitmentPlan.

getCpuOvercommitRatio()

public abstract double getCpuOvercommitRatio()

CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.

double cpu_overcommit_ratio = 1;

Returns
Type Description
double

The cpuOvercommitRatio.

getHostMaintenancePolicy()

public abstract SoleTenancyPreferences.HostMaintenancePolicy getHostMaintenancePolicy()

Sole Tenancy nodes maintenance policy.

.google.cloud.migrationcenter.v1.SoleTenancyPreferences.HostMaintenancePolicy host_maintenance_policy = 2;

Returns
Type Description
SoleTenancyPreferences.HostMaintenancePolicy

The hostMaintenancePolicy.

getHostMaintenancePolicyValue()

public abstract int getHostMaintenancePolicyValue()

Sole Tenancy nodes maintenance policy.

.google.cloud.migrationcenter.v1.SoleTenancyPreferences.HostMaintenancePolicy host_maintenance_policy = 2;

Returns
Type Description
int

The enum numeric value on the wire for hostMaintenancePolicy.

getNodeTypes(int index)

public abstract SoleTenantNodeType getNodeTypes(int index)

A list of sole tenant node types. An empty list means that all possible node types will be considered.

repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4;

Parameter
Name Description
index int
Returns
Type Description
SoleTenantNodeType

getNodeTypesCount()

public abstract int getNodeTypesCount()

A list of sole tenant node types. An empty list means that all possible node types will be considered.

repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4;

Returns
Type Description
int

getNodeTypesList()

public abstract List<SoleTenantNodeType> getNodeTypesList()

A list of sole tenant node types. An empty list means that all possible node types will be considered.

repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4;

Returns
Type Description
List<SoleTenantNodeType>

getNodeTypesOrBuilder(int index)

public abstract SoleTenantNodeTypeOrBuilder getNodeTypesOrBuilder(int index)

A list of sole tenant node types. An empty list means that all possible node types will be considered.

repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4;

Parameter
Name Description
index int
Returns
Type Description
SoleTenantNodeTypeOrBuilder

getNodeTypesOrBuilderList()

public abstract List<? extends SoleTenantNodeTypeOrBuilder> getNodeTypesOrBuilderList()

A list of sole tenant node types. An empty list means that all possible node types will be considered.

repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4;

Returns
Type Description
List<? extends com.google.cloud.migrationcenter.v1.SoleTenantNodeTypeOrBuilder>