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.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildCreateServiceLinkedRoleResponse.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.Builderrole(Role)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.