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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetLicenseResponse.Builderlicense(Consumer<License.Builder> license)License details.GetLicenseResponse.Builderlicense(License license)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 Detail
-
license
GetLicenseResponse.Builder license(License license)
License details.
- Parameters:
license- License details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
license
default GetLicenseResponse.Builder license(Consumer<License.Builder> 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:
license(License)
-
-