Class ResourceInstanceLastOperation
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
-
- com.ibm.cloud.platform_services.resource_controller.v2.model.ResourceInstanceLastOperation
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ResourceInstanceLastOperation extends com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>The status of the last operation requested on the instance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceInstanceLastOperation.StateThe last operation state of the resoure instance.
-
Constructor Summary
Constructors Constructor Description ResourceInstanceLastOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Gets the description.java.lang.DoublegetPollAfter()Gets the pollAfter.java.lang.StringgetReasonCode()Gets the reasonCode.java.lang.StringgetState()Gets the state.java.lang.StringgetSubType()Gets the subType.java.lang.StringgetType()Gets the type.java.lang.BooleanisAsync()Gets the async.java.lang.BooleanisCancelable()Gets the cancelable.java.lang.BooleanisPoll()Gets the poll.
-
-
-
Method Detail
-
getType
public java.lang.String getType()
Gets the type. The last operation type of the resource instance.- Returns:
- the type
-
getState
public java.lang.String getState()
Gets the state. The last operation state of the resoure instance. This indicates if the resource's last operation is in progress, succeeded or failed.- Returns:
- the state
-
getSubType
public java.lang.String getSubType()
Gets the subType. The last operation sub type of the resoure instance.- Returns:
- the subType
-
isAsync
public java.lang.Boolean isAsync()
Gets the async. A boolean that indicates if the resource is provisioned asynchronously or not.- Returns:
- the async
-
getDescription
public java.lang.String getDescription()
Gets the description. The description of the status of last operation.- Returns:
- the description
-
getReasonCode
public java.lang.String getReasonCode()
Gets the reasonCode. Optional string that states the reason code for the last operation state change.- Returns:
- the reasonCode
-
getPollAfter
public java.lang.Double getPollAfter()
Gets the pollAfter. A field which indicates the time after which the instance's last operation is to be polled.- Returns:
- the pollAfter
-
isCancelable
public java.lang.Boolean isCancelable()
Gets the cancelable. A boolean that indicates if the resource's last operation is cancelable or not.- Returns:
- the cancelable
-
isPoll
public java.lang.Boolean isPoll()
Gets the poll. A boolean that indicates if the resource broker's last operation can be polled or not.- Returns:
- the poll
-
-