Interface GetRevenueAttributionAllocationsTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRevenueAttributionAllocationsTaskResponse.Builder,,GetRevenueAttributionAllocationsTaskResponse> PartnerCentralRevenueMeasurementResponse.Builder,SdkBuilder<GetRevenueAttributionAllocationsTaskResponse.Builder,,GetRevenueAttributionAllocationsTaskResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetRevenueAttributionAllocationsTaskResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe catalog used for this task.catalog(CatalogName catalog) The catalog used for this task.description(String description) Human-readable description, if provided at creation.When processing ended.errorDetailList(Collection<RevenueAttributionAllocationErrorDetail> errorDetailList) All errors discovered during async processing.errorDetailList(Consumer<RevenueAttributionAllocationErrorDetail.Builder>... errorDetailList) All errors discovered during async processing.errorDetailList(RevenueAttributionAllocationErrorDetail... errorDetailList) All errors discovered during async processing.revenueAttributionArn(String revenueAttributionArn) ARN of the revenue attribution resource.revenueAttributionLatestRevision(String revenueAttributionLatestRevision) The revision number assigned to this batch.When processing started.Current task status.Current task status.The unique identifier for the asynchronous task.totalRevenueAttributionAllocationRecords(Integer totalRevenueAttributionAllocationRecords) Total revenue attribution allocation records in the batch.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralrevenuemeasurement.model.PartnerCentralRevenueMeasurementResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
taskId
The unique identifier for the asynchronous task.
- Parameters:
taskId- The unique identifier for the asynchronous task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Current task status.
- Parameters:
status- Current task status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
GetRevenueAttributionAllocationsTaskResponse.Builder status(RevenueAttributionAllocationTaskStatus status) Current task status.
- Parameters:
status- Current task status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
catalog
The catalog used for this task.
- Parameters:
catalog- The catalog used for this task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
catalog
The catalog used for this task.
- Parameters:
catalog- The catalog used for this task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
revenueAttributionArn
GetRevenueAttributionAllocationsTaskResponse.Builder revenueAttributionArn(String revenueAttributionArn) ARN of the revenue attribution resource.
- Parameters:
revenueAttributionArn- ARN of the revenue attribution resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedAt
When processing started.
- Parameters:
startedAt- When processing started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endedAt
When processing ended. Only present when COMPLETE or FAILED.
- Parameters:
endedAt- When processing ended. Only present when COMPLETE or FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalRevenueAttributionAllocationRecords
GetRevenueAttributionAllocationsTaskResponse.Builder totalRevenueAttributionAllocationRecords(Integer totalRevenueAttributionAllocationRecords) Total revenue attribution allocation records in the batch.
- Parameters:
totalRevenueAttributionAllocationRecords- Total revenue attribution allocation records in the batch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Human-readable description, if provided at creation.
- Parameters:
description- Human-readable description, if provided at creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revenueAttributionLatestRevision
GetRevenueAttributionAllocationsTaskResponse.Builder revenueAttributionLatestRevision(String revenueAttributionLatestRevision) The revision number assigned to this batch. Only present when COMPLETE.
- Parameters:
revenueAttributionLatestRevision- The revision number assigned to this batch. Only present when COMPLETE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetailList
GetRevenueAttributionAllocationsTaskResponse.Builder errorDetailList(Collection<RevenueAttributionAllocationErrorDetail> errorDetailList) All errors discovered during async processing. Only present when FAILED.
- Parameters:
errorDetailList- All errors discovered during async processing. Only present when FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetailList
GetRevenueAttributionAllocationsTaskResponse.Builder errorDetailList(RevenueAttributionAllocationErrorDetail... errorDetailList) All errors discovered during async processing. Only present when FAILED.
- Parameters:
errorDetailList- All errors discovered during async processing. Only present when FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetailList
GetRevenueAttributionAllocationsTaskResponse.Builder errorDetailList(Consumer<RevenueAttributionAllocationErrorDetail.Builder>... errorDetailList) All errors discovered during async processing. Only present when FAILED.
This is a convenience method that creates an instance of theRevenueAttributionAllocationErrorDetail.Builderavoiding the need to create one manually viaRevenueAttributionAllocationErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorDetailList(List<RevenueAttributionAllocationErrorDetail>).- Parameters:
errorDetailList- a consumer that will call methods onRevenueAttributionAllocationErrorDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-