Interface UpdateRoleDescriptionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateRoleDescriptionResponse.Builder,
,UpdateRoleDescriptionResponse> IamResponse.Builder
,SdkBuilder<UpdateRoleDescriptionResponse.Builder,
,UpdateRoleDescriptionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateRoleDescriptionResponse
public static interface UpdateRoleDescriptionResponse.Builder
extends IamResponse.Builder, SdkPojo, CopyableBuilder<UpdateRoleDescriptionResponse.Builder,UpdateRoleDescriptionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrole
(Consumer<Role.Builder> role) A structure that contains details about the modified role.A structure that contains details about the modified role.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 Details
-
role
A structure that contains details about the modified role.
- Parameters:
role
- A structure that contains details about the modified role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
role
A structure that contains details about the modified role.
This is a convenience method that creates an instance of theRole.Builder
avoiding the need to create one manually viaRole.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torole(Role)
.- Parameters:
role
- a consumer that will call methods onRole.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-