Interface ListPermissionSetsResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListPermissionSetsResponse.Builder,,ListPermissionSetsResponse> SdkBuilder<ListPermissionSetsResponse.Builder,,ListPermissionSetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPermissionSetsResponse
@Mutable
@NotThreadSafe
public static interface ListPermissionSetsResponse.Builder
extends AssuranceResponse.Builder, SdkPojo, CopyableBuilder<ListPermissionSetsResponse.Builder,ListPermissionSetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token returned by a previous request.permissionSets(Collection<PermissionSetSummary> permissionSets) The list of permission sets.permissionSets(Consumer<PermissionSetSummary.Builder>... permissionSets) The list of permission sets.permissionSets(PermissionSetSummary... permissionSets) The list of permission sets.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
permissionSets
The list of permission sets.
- Parameters:
permissionSets- The list of permission sets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionSets
The list of permission sets.
- Parameters:
permissionSets- The list of permission sets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionSets
ListPermissionSetsResponse.Builder permissionSets(Consumer<PermissionSetSummary.Builder>... permissionSets) The list of permission sets.
This is a convenience method that creates an instance of thePermissionSetSummary.Builderavoiding the need to create one manually viaPermissionSetSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topermissionSets(List<PermissionSetSummary>).- Parameters:
permissionSets- a consumer that will call methods onPermissionSetSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.
- Parameters:
nextToken- The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-