Class PlacementGroup
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.PlacementGroup
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PlacementGroup
extends com.ibm.cloud.sdk.core.service.model.GenericModel
PlacementGroup.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The lifecycle state of the placement group.static interface
The resource type.static interface
The strategy for this placement group: - `host_spread`: place on different compute hosts - `power_spread`: place on compute hosts that use different power sources The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getCreatedAt
Gets the createdAt. The date and time that the placement group was created.- Returns:
- the createdAt
-
getCrn
-
getHref
-
getId
-
getLifecycleState
Gets the lifecycleState. The lifecycle state of the placement group.- Returns:
- the lifecycleState
-
getName
Gets the name. The name for this placement group. The name is unique across all placement groups in the region.- Returns:
- the name
-
getResourceGroup
Gets the resourceGroup. The resource group for this placement group.- Returns:
- the resourceGroup
-
getResourceType
-
getStrategy
Gets the strategy. The strategy for this placement group: - `host_spread`: place on different compute hosts - `power_spread`: place on compute hosts that use different power sources The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the strategy
-