public static interface UpdateRoleDescriptionResponse.Builder extends IAMResponse.Builder, CopyableBuilder<UpdateRoleDescriptionResponse.Builder,UpdateRoleDescriptionResponse>
Modifier and Type | Method and Description |
---|---|
default UpdateRoleDescriptionResponse.Builder |
role(Consumer<Role.Builder> role)
A structure that contains details about the modified role.
|
UpdateRoleDescriptionResponse.Builder |
role(Role role)
A structure that contains details about the modified role.
|
build
copy
apply, build
UpdateRoleDescriptionResponse.Builder role(Role role)
A structure that contains details about the modified role.
role
- A structure that contains details about the modified role.default UpdateRoleDescriptionResponse.Builder role(Consumer<Role.Builder> role)
A structure that contains details about the modified role.
This is a convenience that creates an instance of theRole.Builder
avoiding the need to create one
manually via Role.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to role(Role)
.role
- a consumer that will call methods on Role.Builder
role(Role)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.