Interface ListReceivedLicensesForOrganizationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListReceivedLicensesForOrganizationResponse.Builder,,ListReceivedLicensesForOrganizationResponse> LicenseManagerResponse.Builder,SdkBuilder<ListReceivedLicensesForOrganizationResponse.Builder,,ListReceivedLicensesForOrganizationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListReceivedLicensesForOrganizationResponse
public static interface ListReceivedLicensesForOrganizationResponse.Builder
extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<ListReceivedLicensesForOrganizationResponse.Builder,ListReceivedLicensesForOrganizationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlicenses(Collection<GrantedLicense> licenses) Lists the licenses the organization has received.licenses(Consumer<GrantedLicense.Builder>... licenses) Lists the licenses the organization has received.licenses(GrantedLicense... licenses) Lists the licenses the organization has received.Token for the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
licenses
Lists the licenses the organization has received.
- Parameters:
licenses- Lists the licenses the organization has received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenses
Lists the licenses the organization has received.
- Parameters:
licenses- Lists the licenses the organization has received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenses
ListReceivedLicensesForOrganizationResponse.Builder licenses(Consumer<GrantedLicense.Builder>... licenses) Lists the licenses the organization has received.
This is a convenience method that creates an instance of theGrantedLicense.Builderavoiding the need to create one manually viaGrantedLicense.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolicenses(List<GrantedLicense>).- Parameters:
licenses- a consumer that will call methods onGrantedLicense.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Token for the next set of results.
- Parameters:
nextToken- Token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-