Interface GetLicenseConversionTaskResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetLicenseConversionTaskResponse.Builder,GetLicenseConversionTaskResponse>,LicenseManagerResponse.Builder,SdkBuilder<GetLicenseConversionTaskResponse.Builder,GetLicenseConversionTaskResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetLicenseConversionTaskResponse
public static interface GetLicenseConversionTaskResponse.Builder extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<GetLicenseConversionTaskResponse.Builder,GetLicenseConversionTaskResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetLicenseConversionTaskResponse.BuilderdestinationLicenseContext(Consumer<LicenseConversionContext.Builder> destinationLicenseContext)Information about the license type converted to.GetLicenseConversionTaskResponse.BuilderdestinationLicenseContext(LicenseConversionContext destinationLicenseContext)Information about the license type converted to.GetLicenseConversionTaskResponse.BuilderendTime(Instant endTime)Time at which the license type conversion task was completed.GetLicenseConversionTaskResponse.BuilderlicenseConversionTaskId(String licenseConversionTaskId)ID of the license type conversion task.GetLicenseConversionTaskResponse.BuilderlicenseConversionTime(Instant licenseConversionTime)Amount of time to complete the license type conversion.GetLicenseConversionTaskResponse.BuilderresourceArn(String resourceArn)Amazon Resource Names (ARN) of the resources the license conversion task is associated with.default GetLicenseConversionTaskResponse.BuildersourceLicenseContext(Consumer<LicenseConversionContext.Builder> sourceLicenseContext)Information about the license type converted from.GetLicenseConversionTaskResponse.BuildersourceLicenseContext(LicenseConversionContext sourceLicenseContext)Information about the license type converted from.GetLicenseConversionTaskResponse.BuilderstartTime(Instant startTime)Time at which the license type conversion task was started .GetLicenseConversionTaskResponse.Builderstatus(String status)Status of the license type conversion task.GetLicenseConversionTaskResponse.Builderstatus(LicenseConversionTaskStatus status)Status of the license type conversion task.GetLicenseConversionTaskResponse.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.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
-
licenseConversionTaskId
GetLicenseConversionTaskResponse.Builder licenseConversionTaskId(String 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
GetLicenseConversionTaskResponse.Builder resourceArn(String 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.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
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.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)
-
statusMessage
GetLicenseConversionTaskResponse.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.
-
status
GetLicenseConversionTaskResponse.Builder status(String 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:
LicenseConversionTaskStatus,LicenseConversionTaskStatus
-
status
GetLicenseConversionTaskResponse.Builder status(LicenseConversionTaskStatus 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:
LicenseConversionTaskStatus,LicenseConversionTaskStatus
-
startTime
GetLicenseConversionTaskResponse.Builder startTime(Instant 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
GetLicenseConversionTaskResponse.Builder licenseConversionTime(Instant 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
GetLicenseConversionTaskResponse.Builder endTime(Instant 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.
-
-