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.GenericModel
InstanceGroupMembership.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InstanceGroupMembership.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 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
getHref()
Gets the href.String
getId()
Gets the id.InstanceReference
getInstance()
Gets the instance.InstanceTemplateReference
getInstanceTemplate()
Gets the instanceTemplate.String
getName()
Gets the name.LoadBalancerPoolMemberReference
getPoolMember()
Gets the poolMember.String
getStatus()
Gets the status.Date
getUpdatedAt()
Gets the updatedAt.Boolean
isDeleteInstanceOnMembershipDelete()
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 The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the status
-
getUpdatedAt
public Date getUpdatedAt()
Gets the updatedAt. The date and time that the instance group membership was updated.- Returns:
- the updatedAt
-
-