public static interface GetServiceLinkedRoleDeletionStatusResponse.Builder extends IAMResponse.Builder, CopyableBuilder<GetServiceLinkedRoleDeletionStatusResponse.Builder,GetServiceLinkedRoleDeletionStatusResponse>
Modifier and Type | Method and Description |
---|---|
default GetServiceLinkedRoleDeletionStatusResponse.Builder |
reason(Consumer<DeletionTaskFailureReasonType.Builder> reason)
An object that contains details about the reason the deletion failed.
|
GetServiceLinkedRoleDeletionStatusResponse.Builder |
reason(DeletionTaskFailureReasonType reason)
An object that contains details about the reason the deletion failed.
|
GetServiceLinkedRoleDeletionStatusResponse.Builder |
status(DeletionTaskStatusType status)
The status of the deletion.
|
GetServiceLinkedRoleDeletionStatusResponse.Builder |
status(String status)
The status of the deletion.
|
build
copy
apply, build
GetServiceLinkedRoleDeletionStatusResponse.Builder status(String status)
The status of the deletion.
status
- The status of the deletion.DeletionTaskStatusType
,
DeletionTaskStatusType
GetServiceLinkedRoleDeletionStatusResponse.Builder status(DeletionTaskStatusType status)
The status of the deletion.
status
- The status of the deletion.DeletionTaskStatusType
,
DeletionTaskStatusType
GetServiceLinkedRoleDeletionStatusResponse.Builder reason(DeletionTaskFailureReasonType reason)
An object that contains details about the reason the deletion failed.
reason
- An object that contains details about the reason the deletion failed.default GetServiceLinkedRoleDeletionStatusResponse.Builder reason(Consumer<DeletionTaskFailureReasonType.Builder> reason)
An object that contains details about the reason the deletion failed.
This is a convenience that creates an instance of theDeletionTaskFailureReasonType.Builder
avoiding
the need to create one manually via DeletionTaskFailureReasonType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to reason(DeletionTaskFailureReasonType)
.reason
- a consumer that will call methods on DeletionTaskFailureReasonType.Builder
reason(DeletionTaskFailureReasonType)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.