Package com.ibm.cloud.is.vpc.v1.model
Class InstanceGroupMembership
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.InstanceGroupMembership
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class InstanceGroupMembership extends com.ibm.cloud.sdk.core.service.model.GenericModelInstanceGroupMembership.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstanceGroupMembership.StatusThe status of the instance group membership - `deleting`: Membership is deleting dependent resources - `failed`: Membership was unable to maintain dependent resources - `healthy`: Membership is active and serving in the group - `pending`: Membership is waiting for dependent resources - `unhealthy`: Membership has unhealthy dependent resources.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreatedAt()Gets the createdAt.StringgetHref()Gets the href.StringgetId()Gets the id.InstanceReferencegetInstance()Gets the instance.InstanceTemplateReferencegetInstanceTemplate()Gets the instanceTemplate.StringgetName()Gets the name.LoadBalancerPoolMemberReferencegetPoolMember()Gets the poolMember.StringgetStatus()Gets the status.DategetUpdatedAt()Gets the updatedAt.BooleanisDeleteInstanceOnMembershipDelete()Gets the deleteInstanceOnMembershipDelete.
-
-
-
Method Detail
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that the instance group manager policy was created.- Returns:
- the createdAt
-
isDeleteInstanceOnMembershipDelete
public Boolean isDeleteInstanceOnMembershipDelete()
Gets the deleteInstanceOnMembershipDelete. If set to true, when deleting the membership the instance will also be deleted.- Returns:
- the deleteInstanceOnMembershipDelete
-
getHref
public String getHref()
Gets the href. The URL for this instance group membership.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this instance group membership.- Returns:
- the id
-
getInstance
public InstanceReference getInstance()
Gets the instance.- Returns:
- the instance
-
getInstanceTemplate
public InstanceTemplateReference getInstanceTemplate()
Gets the instanceTemplate.- Returns:
- the instanceTemplate
-
getName
public String getName()
Gets the name. The name for this instance group membership. The name is unique across all memberships for the instance group.- Returns:
- the name
-
getPoolMember
public LoadBalancerPoolMemberReference getPoolMember()
Gets the poolMember.- Returns:
- the poolMember
-
getStatus
public String getStatus()
Gets the status. The status of the instance group membership - `deleting`: Membership is deleting dependent resources - `failed`: Membership was unable to maintain dependent resources - `healthy`: Membership is active and serving in the group - `pending`: Membership is waiting for dependent resources - `unhealthy`: Membership has unhealthy dependent resources.- Returns:
- the status
-
getUpdatedAt
public Date getUpdatedAt()
Gets the updatedAt. The date and time that the instance group membership was updated.- Returns:
- the updatedAt
-
-