Interface GetServiceLinkedRoleDeletionStatusResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetServiceLinkedRoleDeletionStatusResponse.Builder,GetServiceLinkedRoleDeletionStatusResponse>,IamResponse.Builder,SdkBuilder<GetServiceLinkedRoleDeletionStatusResponse.Builder,GetServiceLinkedRoleDeletionStatusResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetServiceLinkedRoleDeletionStatusResponse
public static interface GetServiceLinkedRoleDeletionStatusResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetServiceLinkedRoleDeletionStatusResponse.Builder,GetServiceLinkedRoleDeletionStatusResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetServiceLinkedRoleDeletionStatusResponse.Builderreason(Consumer<DeletionTaskFailureReasonType.Builder> reason)An object that contains details about the reason the deletion failed.GetServiceLinkedRoleDeletionStatusResponse.Builderreason(DeletionTaskFailureReasonType reason)An object that contains details about the reason the deletion failed.GetServiceLinkedRoleDeletionStatusResponse.Builderstatus(String status)The status of the deletion.GetServiceLinkedRoleDeletionStatusResponse.Builderstatus(DeletionTaskStatusType status)The status of the deletion.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
status
GetServiceLinkedRoleDeletionStatusResponse.Builder status(String status)
The status of the deletion.
- Parameters:
status- The status of the deletion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeletionTaskStatusType,DeletionTaskStatusType
-
status
GetServiceLinkedRoleDeletionStatusResponse.Builder status(DeletionTaskStatusType status)
The status of the deletion.
- Parameters:
status- The status of the deletion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeletionTaskStatusType,DeletionTaskStatusType
-
reason
GetServiceLinkedRoleDeletionStatusResponse.Builder reason(DeletionTaskFailureReasonType reason)
An object that contains details about the reason the deletion failed.
- Parameters:
reason- An object that contains details about the reason the deletion failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
default GetServiceLinkedRoleDeletionStatusResponse.Builder reason(Consumer<DeletionTaskFailureReasonType.Builder> reason)
An object that contains details about the reason the deletion failed.
This is a convenience method that creates an instance of theDeletionTaskFailureReasonType.Builderavoiding the need to create one manually viaDeletionTaskFailureReasonType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreason(DeletionTaskFailureReasonType).- Parameters:
reason- a consumer that will call methods onDeletionTaskFailureReasonType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
reason(DeletionTaskFailureReasonType)
-
-