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
Modifier and TypeMethodDescriptionAn object that contains details about the reason the deletion failed.reason(DeletionTaskFailureReasonType reason) An object that contains details about the reason the deletion failed.The status of the deletion.status(DeletionTaskStatusType status) The status of the deletion.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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:
-
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:
-
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:
-