Interface ListAccountRolesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAccountRolesResponse.Builder,
,ListAccountRolesResponse> SdkBuilder<ListAccountRolesResponse.Builder,
,ListAccountRolesResponse> SdkPojo
,SdkResponse.Builder
,SsoResponse.Builder
- Enclosing class:
ListAccountRolesResponse
public static interface ListAccountRolesResponse.Builder
extends SsoResponse.Builder, SdkPojo, CopyableBuilder<ListAccountRolesResponse.Builder,ListAccountRolesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe page token client that is used to retrieve the list of accounts.roleList
(Collection<RoleInfo> roleList) A paginated response with the list of roles and the next token if more results are available.roleList
(Consumer<RoleInfo.Builder>... roleList) A paginated response with the list of roles and the next token if more results are available.A paginated response with the list of roles and the next token if more results are available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.sso.model.SsoResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
The page token client that is used to retrieve the list of accounts.
- Parameters:
nextToken
- The page token client that is used to retrieve the list of accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleList
A paginated response with the list of roles and the next token if more results are available.
- Parameters:
roleList
- A paginated response with the list of roles and the next token if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleList
A paginated response with the list of roles and the next token if more results are available.
- Parameters:
roleList
- A paginated response with the list of roles and the next token if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleList
A paginated response with the list of roles and the next token if more results are available.
This is a convenience method that creates an instance of theRoleInfo.Builder
avoiding the need to create one manually viaRoleInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroleList(List<RoleInfo>)
.- Parameters:
roleList
- a consumer that will call methods onRoleInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-