public static interface CreateServiceLinkedRoleResponse.Builder extends IamResponse.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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 method 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 © 2022. All rights reserved.