Interface ListLicenseSpecificationsForResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListLicenseSpecificationsForResourceResponse.Builder,
,ListLicenseSpecificationsForResourceResponse> LicenseManagerResponse.Builder
,SdkBuilder<ListLicenseSpecificationsForResourceResponse.Builder,
,ListLicenseSpecificationsForResourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListLicenseSpecificationsForResourceResponse
public static interface ListLicenseSpecificationsForResourceResponse.Builder
extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<ListLicenseSpecificationsForResourceResponse.Builder,ListLicenseSpecificationsForResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlicenseSpecifications
(Collection<LicenseSpecification> licenseSpecifications) License configurations associated with a resource.licenseSpecifications
(Consumer<LicenseSpecification.Builder>... licenseSpecifications) License configurations associated with a resource.licenseSpecifications
(LicenseSpecification... licenseSpecifications) License configurations associated with a resource.Token for the next set of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
licenseSpecifications
ListLicenseSpecificationsForResourceResponse.Builder licenseSpecifications(Collection<LicenseSpecification> licenseSpecifications) License configurations associated with a resource.
- Parameters:
licenseSpecifications
- License configurations associated with a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseSpecifications
ListLicenseSpecificationsForResourceResponse.Builder licenseSpecifications(LicenseSpecification... licenseSpecifications) License configurations associated with a resource.
- Parameters:
licenseSpecifications
- License configurations associated with a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseSpecifications
ListLicenseSpecificationsForResourceResponse.Builder licenseSpecifications(Consumer<LicenseSpecification.Builder>... licenseSpecifications) License configurations associated with a resource.
This is a convenience method that creates an instance of theLicenseSpecification.Builder
avoiding the need to create one manually viaLicenseSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolicenseSpecifications(List<LicenseSpecification>)
.- Parameters:
licenseSpecifications
- a consumer that will call methods onLicenseSpecification.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.
-