@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeletionTaskFailureReasonType extends Object implements Serializable, Cloneable
The reason that the service-linked role deletion failed.
This data type is used as a response element in the GetServiceLinkedRoleDeletionStatus operation.
Constructor and Description |
---|
DeletionTaskFailureReasonType() |
Modifier and Type | Method and Description |
---|---|
DeletionTaskFailureReasonType |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
A short description of the reason that the service-linked role deletion failed.
|
List<RoleUsageType> |
getRoleUsageList()
A list of objects that contains details about the service-linked role deletion failure.
|
int |
hashCode() |
void |
setReason(String reason)
A short description of the reason that the service-linked role deletion failed.
|
void |
setRoleUsageList(Collection<RoleUsageType> roleUsageList)
A list of objects that contains details about the service-linked role deletion failure.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeletionTaskFailureReasonType |
withReason(String reason)
A short description of the reason that the service-linked role deletion failed.
|
DeletionTaskFailureReasonType |
withRoleUsageList(Collection<RoleUsageType> roleUsageList)
A list of objects that contains details about the service-linked role deletion failure.
|
DeletionTaskFailureReasonType |
withRoleUsageList(RoleUsageType... roleUsageList)
A list of objects that contains details about the service-linked role deletion failure.
|
public void setReason(String reason)
A short description of the reason that the service-linked role deletion failed.
reason
- A short description of the reason that the service-linked role deletion failed.public String getReason()
A short description of the reason that the service-linked role deletion failed.
public DeletionTaskFailureReasonType withReason(String reason)
A short description of the reason that the service-linked role deletion failed.
reason
- A short description of the reason that the service-linked role deletion failed.public List<RoleUsageType> getRoleUsageList()
A list of objects that contains details about the service-linked role deletion failure. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the region in which the resources are being used.
public void setRoleUsageList(Collection<RoleUsageType> roleUsageList)
A list of objects that contains details about the service-linked role deletion failure. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the region in which the resources are being used.
roleUsageList
- A list of objects that contains details about the service-linked role deletion failure. If the
service-linked role has active sessions or if any resources that were used by the role have not been
deleted from the linked service, the role can't be deleted. This parameter includes a list of the
resources that are associated with the role and the region in which the resources are being used.public DeletionTaskFailureReasonType withRoleUsageList(RoleUsageType... roleUsageList)
A list of objects that contains details about the service-linked role deletion failure. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the region in which the resources are being used.
NOTE: This method appends the values to the existing list (if any). Use
setRoleUsageList(java.util.Collection)
or withRoleUsageList(java.util.Collection)
if you want
to override the existing values.
roleUsageList
- A list of objects that contains details about the service-linked role deletion failure. If the
service-linked role has active sessions or if any resources that were used by the role have not been
deleted from the linked service, the role can't be deleted. This parameter includes a list of the
resources that are associated with the role and the region in which the resources are being used.public DeletionTaskFailureReasonType withRoleUsageList(Collection<RoleUsageType> roleUsageList)
A list of objects that contains details about the service-linked role deletion failure. If the service-linked role has active sessions or if any resources that were used by the role have not been deleted from the linked service, the role can't be deleted. This parameter includes a list of the resources that are associated with the role and the region in which the resources are being used.
roleUsageList
- A list of objects that contains details about the service-linked role deletion failure. If the
service-linked role has active sessions or if any resources that were used by the role have not been
deleted from the linked service, the role can't be deleted. This parameter includes a list of the
resources that are associated with the role and the region in which the resources are being used.public String toString()
toString
in class Object
Object.toString()
public DeletionTaskFailureReasonType clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.