public static interface GetEntitlementsResponse.Builder extends MarketplaceEntitlementResponse.Builder, CopyableBuilder<GetEntitlementsResponse.Builder,GetEntitlementsResponse>
Modifier and Type | Method and Description |
---|---|
GetEntitlementsResponse.Builder |
entitlements(Collection<Entitlement> entitlements)
The set of entitlements found through the GetEntitlements operation.
|
GetEntitlementsResponse.Builder |
entitlements(Consumer<Entitlement.Builder>... entitlements)
The set of entitlements found through the GetEntitlements operation.
|
GetEntitlementsResponse.Builder |
entitlements(Entitlement... entitlements)
The set of entitlements found through the GetEntitlements operation.
|
GetEntitlementsResponse.Builder |
nextToken(String nextToken)
For paginated results, use NextToken in subsequent calls to GetEntitlements.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetEntitlementsResponse.Builder entitlements(Collection<Entitlement> entitlements)
The set of entitlements found through the GetEntitlements operation. If the result contains an empty set of entitlements, NextToken might still be present and should be used.
entitlements
- The set of entitlements found through the GetEntitlements operation. If the result contains an empty
set of entitlements, NextToken might still be present and should be used.GetEntitlementsResponse.Builder entitlements(Entitlement... entitlements)
The set of entitlements found through the GetEntitlements operation. If the result contains an empty set of entitlements, NextToken might still be present and should be used.
entitlements
- The set of entitlements found through the GetEntitlements operation. If the result contains an empty
set of entitlements, NextToken might still be present and should be used.GetEntitlementsResponse.Builder entitlements(Consumer<Entitlement.Builder>... entitlements)
The set of entitlements found through the GetEntitlements operation. If the result contains an empty set of entitlements, NextToken might still be present and should be used.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #entitlements(List)
.entitlements
- a consumer that will call methods on List.Builder
#entitlements(List)
GetEntitlementsResponse.Builder nextToken(String nextToken)
For paginated results, use NextToken in subsequent calls to GetEntitlements. If the result contains an empty set of entitlements, NextToken might still be present and should be used.
nextToken
- For paginated results, use NextToken in subsequent calls to GetEntitlements. If the result contains an
empty set of entitlements, NextToken might still be present and should be used.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.