Interface GetEntitlementsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetEntitlementsResponse.Builder,GetEntitlementsResponse>, MarketplaceEntitlementResponse.Builder, SdkBuilder<GetEntitlementsResponse.Builder,GetEntitlementsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetEntitlementsResponse

  • Method Details

    • 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

      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 the Entitlement.Builder avoiding the need to create one manually via Entitlement.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to entitlements(List<Entitlement>).

      Parameters:
      entitlements - a consumer that will call methods on Entitlement.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.