Interface DeletionTaskFailureReasonType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeletionTaskFailureReasonType.Builder,DeletionTaskFailureReasonType>,SdkBuilder<DeletionTaskFailureReasonType.Builder,DeletionTaskFailureReasonType>,SdkPojo
- Enclosing class:
- DeletionTaskFailureReasonType
@Mutable @NotThreadSafe public static interface DeletionTaskFailureReasonType.Builder extends SdkPojo, CopyableBuilder<DeletionTaskFailureReasonType.Builder,DeletionTaskFailureReasonType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeletionTaskFailureReasonType.Builderreason(String reason)A short description of the reason that the service-linked role deletion failed.DeletionTaskFailureReasonType.BuilderroleUsageList(Collection<RoleUsageType> roleUsageList)A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service.DeletionTaskFailureReasonType.BuilderroleUsageList(Consumer<RoleUsageType.Builder>... roleUsageList)A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service.DeletionTaskFailureReasonType.BuilderroleUsageList(RoleUsageType... roleUsageList)A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
reason
DeletionTaskFailureReasonType.Builder reason(String reason)
A short description of the reason that the service-linked role deletion failed.
- Parameters:
reason- A short description of the reason that the service-linked role deletion failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleUsageList
DeletionTaskFailureReasonType.Builder roleUsageList(Collection<RoleUsageType> roleUsageList)
A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. 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.
- Parameters:
roleUsageList- A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleUsageList
DeletionTaskFailureReasonType.Builder roleUsageList(RoleUsageType... roleUsageList)
A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. 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.
- Parameters:
roleUsageList- A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleUsageList
DeletionTaskFailureReasonType.Builder roleUsageList(Consumer<RoleUsageType.Builder>... roleUsageList)
A list of objects that contains details about the service-linked role deletion failure, if that information is returned by the service. 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.
This is a convenience method that creates an instance of theRoleUsageType.Builderavoiding the need to create one manually viaRoleUsageType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#roleUsageList(List.) - Parameters:
roleUsageList- a consumer that will call methods onRoleUsageType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#roleUsageList(java.util.Collection)
-
-