Interface DeletionTaskFailureReasonType.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeletionTaskFailureReasonType.Builder,
,DeletionTaskFailureReasonType> SdkBuilder<DeletionTaskFailureReasonType.Builder,
,DeletionTaskFailureReasonType> SdkPojo
- Enclosing class:
DeletionTaskFailureReasonType
-
Method Summary
Modifier and TypeMethodDescriptionA short description of the reason that the service-linked role deletion failed.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.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.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.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, sdkFields
-
Method Details
-
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
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
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.Builder
avoiding the need to create one manually viaRoleUsageType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroleUsageList(List<RoleUsageType>)
.- 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:
-