Interface LicenseConversionTask.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LicenseConversionTask.Builder,
,LicenseConversionTask> SdkBuilder<LicenseConversionTask.Builder,
,LicenseConversionTask> SdkPojo
- Enclosing class:
LicenseConversionTask
-
Method Summary
Modifier and TypeMethodDescriptiondefault LicenseConversionTask.Builder
destinationLicenseContext
(Consumer<LicenseConversionContext.Builder> destinationLicenseContext) Information about the license type this conversion task converted to.destinationLicenseContext
(LicenseConversionContext destinationLicenseContext) Information about the license type this conversion task converted to.The time the conversion task was completed.licenseConversionTaskId
(String licenseConversionTaskId) The ID of the license type conversion task.licenseConversionTime
(Instant licenseConversionTime) The time the usage operation value of the resource was changed.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the resource associated with the license type conversion task.default LicenseConversionTask.Builder
sourceLicenseContext
(Consumer<LicenseConversionContext.Builder> sourceLicenseContext) Information about the license type this conversion task converted from.sourceLicenseContext
(LicenseConversionContext sourceLicenseContext) Information about the license type this conversion task converted from.The time the conversion task was started at.The status of the conversion task.status
(LicenseConversionTaskStatus status) The status of the 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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
licenseConversionTaskId
The ID of the license type conversion task.
- Parameters:
licenseConversionTaskId
- The ID of the license type conversion task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
The Amazon Resource Name (ARN) of the resource associated with the license type conversion task.
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the resource associated with the license type conversion task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceLicenseContext
Information about the license type this conversion task converted from.
- Parameters:
sourceLicenseContext
- Information about the license type this conversion task converted from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceLicenseContext
default LicenseConversionTask.Builder sourceLicenseContext(Consumer<LicenseConversionContext.Builder> sourceLicenseContext) Information about the license type this conversion task 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
LicenseConversionTask.Builder destinationLicenseContext(LicenseConversionContext destinationLicenseContext) Information about the license type this conversion task converted to.
- Parameters:
destinationLicenseContext
- Information about the license type this conversion task converted to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationLicenseContext
default LicenseConversionTask.Builder destinationLicenseContext(Consumer<LicenseConversionContext.Builder> destinationLicenseContext) Information about the license type this conversion task 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:
-
status
The status of the conversion task.
- Parameters:
status
- The status of the conversion task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the conversion task.
- Parameters:
status
- The status of the conversion task.- 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.
-
startTime
The time the conversion task was started at.
- Parameters:
startTime
- The time the conversion task was started at.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseConversionTime
The time the usage operation value of the resource was changed.
- Parameters:
licenseConversionTime
- The time the usage operation value of the resource was changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time the conversion task was completed.
- Parameters:
endTime
- The time the conversion task was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-