Interface GetLicenseResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetLicenseResponse.Builder,
,GetLicenseResponse> LicenseManagerResponse.Builder
,SdkBuilder<GetLicenseResponse.Builder,
,GetLicenseResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetLicenseResponse
public static interface GetLicenseResponse.Builder
extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<GetLicenseResponse.Builder,GetLicenseResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetLicenseResponse.Builder
license
(Consumer<License.Builder> license) License details.License details.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
-
license
License details.
- Parameters:
license
- License details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
license
License details.
This is a convenience method that creates an instance of theLicense.Builder
avoiding the need to create one manually viaLicense.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolicense(License)
.- Parameters:
license
- 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:
-