Class 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.
    • 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