public static interface CreateServiceLinkedRoleResponse.Builder extends IamResponse.Builder, CopyableBuilder<CreateServiceLinkedRoleResponse.Builder,CreateServiceLinkedRoleResponse>
Modifier and Type | Method and Description |
---|---|
default CreateServiceLinkedRoleResponse.Builder |
role(Consumer<Role.Builder> role)
A Role object that contains details about the newly created role.
|
CreateServiceLinkedRoleResponse.Builder |
role(Role role)
A Role object that contains details about the newly created role.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateServiceLinkedRoleResponse.Builder role(Role role)
A Role object that contains details about the newly created role.
role
- A Role object that contains details about the newly created role.default CreateServiceLinkedRoleResponse.Builder role(Consumer<Role.Builder> role)
A Role object that contains details about the newly created 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.