Class PolicyAssignmentResourcePolicy
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.iam_policy_management.v1.model.PolicyAssignmentResourcePolicy
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PolicyAssignmentResourcePolicy extends com.ibm.cloud.sdk.core.service.model.GenericModelSet of properties for the assigned resource.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorResponsegetErrorMessage()Gets the errorMessage.AssignmentResourceCreatedgetResourceCreated()Gets the resourceCreated.java.lang.StringgetStatus()Gets the status.
-
-
-
Method Detail
-
getResourceCreated
public AssignmentResourceCreated getResourceCreated()
Gets the resourceCreated. On success, includes the policy that is assigned.- Returns:
- the resourceCreated
-
getStatus
public java.lang.String getStatus()
Gets the status. policy status.- Returns:
- the status
-
getErrorMessage
public ErrorResponse getErrorMessage()
Gets the errorMessage. The error response from API.- Returns:
- the errorMessage
-
-