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.Builderlicense(Consumer<License.Builder> license) License details.License details.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
-
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.Builderavoiding the need to create one manually viaLicense.builder().When the
Consumercompletes,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:
-