Interface GetEntitlementsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetEntitlementsResponse.Builder,GetEntitlementsResponse>,MarketplaceEntitlementResponse.Builder,SdkBuilder<GetEntitlementsResponse.Builder,GetEntitlementsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetEntitlementsResponse
public static interface GetEntitlementsResponse.Builder extends MarketplaceEntitlementResponse.Builder, SdkPojo, CopyableBuilder<GetEntitlementsResponse.Builder,GetEntitlementsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetEntitlementsResponse.Builderentitlements(Collection<Entitlement> entitlements)The set of entitlements found through the GetEntitlements operation.GetEntitlementsResponse.Builderentitlements(Consumer<Entitlement.Builder>... entitlements)The set of entitlements found through the GetEntitlements operation.GetEntitlementsResponse.Builderentitlements(Entitlement... entitlements)The set of entitlements found through the GetEntitlements operation.GetEntitlementsResponse.BuildernextToken(String nextToken)For paginated results, use NextToken in subsequent calls to GetEntitlements.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.marketplaceentitlement.model.MarketplaceEntitlementResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
entitlements
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entitlements
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 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 to#entitlements(List.) - 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:
#entitlements(java.util.Collection)
-
nextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-