@Generated(value="software.amazon.awssdk:codegen") public final class DeletionTaskFailureReasonType extends Object implements ToCopyableBuilder<DeletionTaskFailureReasonType.Builder,DeletionTaskFailureReasonType>
The reason that the service-linked role deletion failed.
This data type is used as a response element in the GetServiceLinkedRoleDeletionStatus operation.
Modifier and Type | Class and Description |
---|---|
static interface |
DeletionTaskFailureReasonType.Builder |
Modifier and Type | Method and Description |
---|---|
static DeletionTaskFailureReasonType.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
reason()
A short description of the reason that the service-linked role deletion failed.
|
List<RoleUsageType> |
roleUsageList()
A list of objects that contains details about the service-linked role deletion failure.
|
static Class<? extends DeletionTaskFailureReasonType.Builder> |
serializableBuilderClass() |
DeletionTaskFailureReasonType.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String reason()
A short description of the reason that the service-linked role deletion failed.
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public DeletionTaskFailureReasonType.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeletionTaskFailureReasonType.Builder,DeletionTaskFailureReasonType>
public static DeletionTaskFailureReasonType.Builder builder()
public static Class<? extends DeletionTaskFailureReasonType.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.