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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAccountRolesResponse.BuildernextToken(String nextToken)The page token client that is used to retrieve the list of accounts.ListAccountRolesResponse.BuilderroleList(Collection<RoleInfo> roleList)A paginated response with the list of roles and the next token if more results are available.ListAccountRolesResponse.BuilderroleList(Consumer<RoleInfo.Builder>... roleList)A paginated response with the list of roles and the next token if more results are available.ListAccountRolesResponse.BuilderroleList(RoleInfo... roleList)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, sdkFieldNameToField, 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 Detail
-
nextToken
ListAccountRolesResponse.Builder nextToken(String 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
ListAccountRolesResponse.Builder roleList(Collection<RoleInfo> 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
ListAccountRolesResponse.Builder roleList(RoleInfo... 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
ListAccountRolesResponse.Builder roleList(Consumer<RoleInfo.Builder>... 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.Builderavoiding the need to create one manually viaRoleInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#roleList(List.) - 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:
#roleList(java.util.Collection)
-
-