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 in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the placement group on which the unexpected strategy was encountered.
        Returns:
        the strategy