Interface LicenseConversionTask.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LicenseConversionTask.Builder,LicenseConversionTask>,SdkBuilder<LicenseConversionTask.Builder,LicenseConversionTask>,SdkPojo
- Enclosing class:
- LicenseConversionTask
public static interface LicenseConversionTask.Builder extends SdkPojo, CopyableBuilder<LicenseConversionTask.Builder,LicenseConversionTask>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LicenseConversionTask.BuilderdestinationLicenseContext(Consumer<LicenseConversionContext.Builder> destinationLicenseContext)Information about the license type this conversion task converted to.LicenseConversionTask.BuilderdestinationLicenseContext(LicenseConversionContext destinationLicenseContext)Information about the license type this conversion task converted to.LicenseConversionTask.BuilderendTime(Instant endTime)The time the conversion task was completed.LicenseConversionTask.BuilderlicenseConversionTaskId(String licenseConversionTaskId)The ID of the license type conversion task.LicenseConversionTask.BuilderlicenseConversionTime(Instant licenseConversionTime)The time the usage operation value of the resource was changed.LicenseConversionTask.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the resource associated with the license type conversion task.default LicenseConversionTask.BuildersourceLicenseContext(Consumer<LicenseConversionContext.Builder> sourceLicenseContext)Information about the license type this conversion task converted from.LicenseConversionTask.BuildersourceLicenseContext(LicenseConversionContext sourceLicenseContext)Information about the license type this conversion task converted from.LicenseConversionTask.BuilderstartTime(Instant startTime)The time the conversion task was started at.LicenseConversionTask.Builderstatus(String status)The status of the conversion task.LicenseConversionTask.Builderstatus(LicenseConversionTaskStatus status)The status of the conversion task.LicenseConversionTask.BuilderstatusMessage(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 Detail
-
licenseConversionTaskId
LicenseConversionTask.Builder licenseConversionTaskId(String 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
LicenseConversionTask.Builder resourceArn(String 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
LicenseConversionTask.Builder sourceLicenseContext(LicenseConversionContext 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.Builderavoiding the need to create one manually viaLicenseConversionContext.builder().When the
Consumercompletes,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:
sourceLicenseContext(LicenseConversionContext)
-
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.Builderavoiding the need to create one manually viaLicenseConversionContext.builder().When the
Consumercompletes,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:
destinationLicenseContext(LicenseConversionContext)
-
status
LicenseConversionTask.Builder status(String 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:
LicenseConversionTaskStatus,LicenseConversionTaskStatus
-
status
LicenseConversionTask.Builder status(LicenseConversionTaskStatus 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:
LicenseConversionTaskStatus,LicenseConversionTaskStatus
-
statusMessage
LicenseConversionTask.Builder statusMessage(String 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
LicenseConversionTask.Builder startTime(Instant 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
LicenseConversionTask.Builder licenseConversionTime(Instant 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
LicenseConversionTask.Builder endTime(Instant 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.
-
-