Interface ListLicenseVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLicenseVersionsResponse.Builder,,ListLicenseVersionsResponse> LicenseManagerResponse.Builder,SdkBuilder<ListLicenseVersionsResponse.Builder,,ListLicenseVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListLicenseVersionsResponse
public static interface ListLicenseVersionsResponse.Builder
extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<ListLicenseVersionsResponse.Builder,ListLicenseVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlicenses(Collection<License> licenses) License details.licenses(Consumer<License.Builder>... licenses) License details.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
License details.
- Parameters:
licenses- License details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenses
License details.
- Parameters:
licenses- License details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenses
License details.
This is a convenience method that creates an instance of theLicense.Builderavoiding the need to create one manually viaLicense.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolicenses(List<License>).- Parameters:
licenses- a consumer that will call methods onLicense.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.
-