Interface ListReceivedLicensesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListReceivedLicensesResponse.Builder,,ListReceivedLicensesResponse> LicenseManagerResponse.Builder,SdkBuilder<ListReceivedLicensesResponse.Builder,,ListReceivedLicensesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListReceivedLicensesResponse
public static interface ListReceivedLicensesResponse.Builder
extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<ListReceivedLicensesResponse.Builder,ListReceivedLicensesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlicenses(Collection<GrantedLicense> licenses) Received license details.licenses(Consumer<GrantedLicense.Builder>... licenses) Received license details.licenses(GrantedLicense... licenses) Received license details.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
Received license details.
- Parameters:
licenses- Received license details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenses
Received license details.
- Parameters:
licenses- Received license details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenses
Received license details.
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.
-