Interface GetLicenseConversionTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetLicenseConversionTaskResponse.Builder,
,GetLicenseConversionTaskResponse> LicenseManagerResponse.Builder
,SdkBuilder<GetLicenseConversionTaskResponse.Builder,
,GetLicenseConversionTaskResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetLicenseConversionTaskResponse
-
Method Summary
Modifier and TypeMethodDescriptiondestinationLicenseContext
(Consumer<LicenseConversionContext.Builder> destinationLicenseContext) Information about the license type converted to.destinationLicenseContext
(LicenseConversionContext destinationLicenseContext) Information about the license type converted to.Time at which the license type conversion task was completed.licenseConversionTaskId
(String licenseConversionTaskId) ID of the license type conversion task.licenseConversionTime
(Instant licenseConversionTime) Amount of time to complete the license type conversion.resourceArn
(String resourceArn) Amazon Resource Names (ARN) of the resources the license conversion task is associated with.sourceLicenseContext
(Consumer<LicenseConversionContext.Builder> sourceLicenseContext) Information about the license type converted from.sourceLicenseContext
(LicenseConversionContext sourceLicenseContext) Information about the license type converted from.Time at which the license type conversion task was started .Status of the license type conversion task.status
(LicenseConversionTaskStatus status) Status of the license type conversion task.statusMessage
(String statusMessage) The status message for the conversion task.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
-
licenseConversionTaskId
ID of the license type conversion task.
- Parameters:
licenseConversionTaskId
- ID of the license type conversion task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
Amazon Resource Names (ARN) of the resources the license conversion task is associated with.
- Parameters:
resourceArn
- Amazon Resource Names (ARN) of the resources the license conversion task is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceLicenseContext
GetLicenseConversionTaskResponse.Builder sourceLicenseContext(LicenseConversionContext sourceLicenseContext) Information about the license type converted from.
- Parameters:
sourceLicenseContext
- Information about the license type converted from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceLicenseContext
default GetLicenseConversionTaskResponse.Builder sourceLicenseContext(Consumer<LicenseConversionContext.Builder> sourceLicenseContext) Information about the license type converted from.
This is a convenience method that creates an instance of theLicenseConversionContext.Builder
avoiding the need to create one manually viaLicenseConversionContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceLicenseContext(LicenseConversionContext)
.- Parameters:
sourceLicenseContext
- a consumer that will call methods onLicenseConversionContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationLicenseContext
GetLicenseConversionTaskResponse.Builder destinationLicenseContext(LicenseConversionContext destinationLicenseContext) Information about the license type converted to.
- Parameters:
destinationLicenseContext
- Information about the license type converted to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationLicenseContext
default GetLicenseConversionTaskResponse.Builder destinationLicenseContext(Consumer<LicenseConversionContext.Builder> destinationLicenseContext) Information about the license type converted to.
This is a convenience method that creates an instance of theLicenseConversionContext.Builder
avoiding the need to create one manually viaLicenseConversionContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationLicenseContext(LicenseConversionContext)
.- Parameters:
destinationLicenseContext
- a consumer that will call methods onLicenseConversionContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
The status message for the conversion task.
- Parameters:
statusMessage
- The status message for the conversion task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Status of the license type conversion task.
- Parameters:
status
- Status of the license type conversion task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status of the license type conversion task.
- Parameters:
status
- Status of the license type conversion task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
Time at which the license type conversion task was started .
- Parameters:
startTime
- Time at which the license type conversion task was started .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseConversionTime
Amount of time to complete the license type conversion.
- Parameters:
licenseConversionTime
- Amount of time to complete the license type conversion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
Time at which the license type conversion task was completed.
- Parameters:
endTime
- Time at which the license type conversion task was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-