Interface ListEntitlementsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListEntitlementsResponse.Builder,
,ListEntitlementsResponse> MediaConnectResponse.Builder
,SdkBuilder<ListEntitlementsResponse.Builder,
,ListEntitlementsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListEntitlementsResponse
public static interface ListEntitlementsResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<ListEntitlementsResponse.Builder,ListEntitlementsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionentitlements
(Collection<ListedEntitlement> entitlements) A list of entitlements that have been granted to you from other AWS accounts.entitlements
(Consumer<ListedEntitlement.Builder>... entitlements) A list of entitlements that have been granted to you from other AWS accounts.entitlements
(ListedEntitlement... entitlements) A list of entitlements that have been granted to you from other AWS accounts.The token that identifies which batch of results that you want to see.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
entitlements
A list of entitlements that have been granted to you from other AWS accounts.- Parameters:
entitlements
- A list of entitlements that have been granted to you from other AWS accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
A list of entitlements that have been granted to you from other AWS accounts.- Parameters:
entitlements
- A list of entitlements that have been granted to you from other AWS accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
A list of entitlements that have been granted to you from other AWS accounts. This is a convenience method that creates an instance of theListedEntitlement.Builder
avoiding the need to create one manually viaListedEntitlement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentitlements(List<ListedEntitlement>)
.- Parameters:
entitlements
- a consumer that will call methods onListedEntitlement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token that identifies which batch of results that you want to see. For example, you submit a ListEntitlements request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListEntitlements request a second time and specify the NextToken value.- Parameters:
nextToken
- The token that identifies which batch of results that you want to see. For example, you submit a ListEntitlements request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListEntitlements request a second time and specify the NextToken value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-