Interface ListApplicationGrantsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListApplicationGrantsResponse.Builder,ListApplicationGrantsResponse>,SdkBuilder<ListApplicationGrantsResponse.Builder,ListApplicationGrantsResponse>,SdkPojo,SdkResponse.Builder,SsoAdminResponse.Builder
- Enclosing class:
- ListApplicationGrantsResponse
public static interface ListApplicationGrantsResponse.Builder extends SsoAdminResponse.Builder, SdkPojo, CopyableBuilder<ListApplicationGrantsResponse.Builder,ListApplicationGrantsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListApplicationGrantsResponse.Buildergrants(Collection<GrantItem> grants)An array list of structures that describe the requested grants.ListApplicationGrantsResponse.Buildergrants(Consumer<GrantItem.Builder>... grants)An array list of structures that describe the requested grants.ListApplicationGrantsResponse.Buildergrants(GrantItem... grants)An array list of structures that describe the requested grants.ListApplicationGrantsResponse.BuildernextToken(String nextToken)If present, this value indicates that more output is available than is included in the current response.-
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.ssoadmin.model.SsoAdminResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
grants
ListApplicationGrantsResponse.Builder grants(Collection<GrantItem> grants)
An array list of structures that describe the requested grants.
- Parameters:
grants- An array list of structures that describe the requested grants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
ListApplicationGrantsResponse.Builder grants(GrantItem... grants)
An array list of structures that describe the requested grants.
- Parameters:
grants- An array list of structures that describe the requested grants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grants
ListApplicationGrantsResponse.Builder grants(Consumer<GrantItem.Builder>... grants)
An array list of structures that describe the requested grants.
This is a convenience method that creates an instance of theGrantItem.Builderavoiding the need to create one manually viaGrantItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#grants(List.) - Parameters:
grants- a consumer that will call methods onGrantItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#grants(java.util.Collection)
-
nextToken
ListApplicationGrantsResponse.Builder nextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this value in the
NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. This indicates that this is the last page of results.- Parameters:
nextToken- If present, this value indicates that more output is available than is included in the current response. Use this value in theNextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. This indicates that this is the last page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-