Package com.ibm.cloud.is.vpc.v1.model
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 Classes Modifier and Type Class Description static interface
PlacementGroup.LifecycleState
The lifecycle state of the placement group.static interface
PlacementGroup.ResourceType
The resource type.static interface
PlacementGroup.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreatedAt()
Gets the createdAt.String
getCrn()
Gets the crn.String
getHref()
Gets the href.String
getId()
Gets the id.String
getLifecycleState()
Gets the lifecycleState.String
getName()
Gets the name.ResourceGroupReference
getResourceGroup()
Gets the resourceGroup.String
getResourceType()
Gets the resourceType.String
getStrategy()
Gets the strategy.
-
-
-
Method Detail
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that the placement group was created.- Returns:
- the createdAt
-
getCrn
public String getCrn()
Gets the crn. The CRN for this placement group.- Returns:
- the crn
-
getHref
public String getHref()
Gets the href. The URL for this placement group.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this placement group.- Returns:
- the id
-
getLifecycleState
public String getLifecycleState()
Gets the lifecycleState. The lifecycle state of the placement group.- Returns:
- the lifecycleState
-
getName
public String 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
public ResourceGroupReference getResourceGroup()
Gets the resourceGroup. The resource group for this placement group.- Returns:
- the resourceGroup
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getStrategy
public String 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
-
-