Interface DescribeEntitlementsResponse.Builder
- All Superinterfaces:
AppStreamResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEntitlementsResponse.Builder,,DescribeEntitlementsResponse> SdkBuilder<DescribeEntitlementsResponse.Builder,,DescribeEntitlementsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeEntitlementsResponse
@Mutable
@NotThreadSafe
public static interface DescribeEntitlementsResponse.Builder
extends AppStreamResponse.Builder, SdkPojo, CopyableBuilder<DescribeEntitlementsResponse.Builder,DescribeEntitlementsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionentitlements(Collection<Entitlement> entitlements) The entitlements.entitlements(Consumer<Entitlement.Builder>... entitlements) The entitlements.entitlements(Entitlement... entitlements) The entitlements.The pagination token used to retrieve the next page of results for this operation.Methods inherited from interface software.amazon.awssdk.services.appstream.model.AppStreamResponse.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
-
entitlements
The entitlements.
- Parameters:
entitlements- The entitlements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
The entitlements.
- Parameters:
entitlements- The entitlements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
The entitlements.
This is a convenience method that creates an instance of theEntitlement.Builderavoiding the need to create one manually viaEntitlement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentitlements(List<Entitlement>).- Parameters:
entitlements- a consumer that will call methods onEntitlement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token used to retrieve the next page of results for this operation.
- Parameters:
nextToken- The pagination token used to retrieve the next page of results for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-