Interface ProgressEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProgressEvent.Builder,ProgressEvent>,SdkBuilder<ProgressEvent.Builder,ProgressEvent>,SdkPojo
- Enclosing class:
- ProgressEvent
public static interface ProgressEvent.Builder extends SdkPojo, CopyableBuilder<ProgressEvent.Builder,ProgressEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProgressEvent.BuildererrorCode(String errorCode)For requests with a status ofFAILED, the associated error code.ProgressEvent.BuildererrorCode(HandlerErrorCode errorCode)For requests with a status ofFAILED, the associated error code.ProgressEvent.BuildereventTime(Instant eventTime)When the resource operation request was initiated.ProgressEvent.Builderidentifier(String identifier)The primary identifier for the resource.ProgressEvent.Builderoperation(String operation)The resource operation type.ProgressEvent.Builderoperation(Operation operation)The resource operation type.ProgressEvent.BuilderoperationStatus(String operationStatus)The current status of the resource operation request.ProgressEvent.BuilderoperationStatus(OperationStatus operationStatus)The current status of the resource operation request.ProgressEvent.BuilderrequestToken(String requestToken)The unique token representing this resource operation request.ProgressEvent.BuilderresourceModel(String resourceModel)A JSON string containing the resource model, consisting of each resource property and its current value.ProgressEvent.BuilderretryAfter(Instant retryAfter)When to next request the status of this resource operation request.ProgressEvent.BuilderstatusMessage(String statusMessage)Any message explaining the current status.ProgressEvent.BuildertypeName(String typeName)The name of the resource type used in the operation.-
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
-
typeName
ProgressEvent.Builder typeName(String typeName)
The name of the resource type used in the operation.
- Parameters:
typeName- The name of the resource type used in the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
ProgressEvent.Builder identifier(String identifier)
The primary identifier for the resource.
In some cases, the resource identifier may be available before the resource operation has reached a status of
SUCCESS.- Parameters:
identifier- The primary identifier for the resource.In some cases, the resource identifier may be available before the resource operation has reached a status of
SUCCESS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestToken
ProgressEvent.Builder requestToken(String requestToken)
The unique token representing this resource operation request.
Use the
RequestTokenwith GetResourceRequestStatus to return the current status of a resource operation request.- Parameters:
requestToken- The unique token representing this resource operation request.Use the
RequestTokenwith GetResourceRequestStatus to return the current status of a resource operation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
ProgressEvent.Builder operation(String operation)
The resource operation type.
-
operation
ProgressEvent.Builder operation(Operation operation)
The resource operation type.
-
operationStatus
ProgressEvent.Builder operationStatus(String operationStatus)
The current status of the resource operation request.
-
PENDING: The resource operation hasn't yet started. -
IN_PROGRESS: The resource operation is currently in progress. -
SUCCESS: The resource operation has successfully completed. -
FAILED: The resource operation has failed. Refer to the error code and status message for more information. -
CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled. -
CANCEL_COMPLETE: The resource operation has been canceled.
- Parameters:
operationStatus- The current status of the resource operation request.-
PENDING: The resource operation hasn't yet started. -
IN_PROGRESS: The resource operation is currently in progress. -
SUCCESS: The resource operation has successfully completed. -
FAILED: The resource operation has failed. Refer to the error code and status message for more information. -
CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled. -
CANCEL_COMPLETE: The resource operation has been canceled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OperationStatus,OperationStatus
-
-
operationStatus
ProgressEvent.Builder operationStatus(OperationStatus operationStatus)
The current status of the resource operation request.
-
PENDING: The resource operation hasn't yet started. -
IN_PROGRESS: The resource operation is currently in progress. -
SUCCESS: The resource operation has successfully completed. -
FAILED: The resource operation has failed. Refer to the error code and status message for more information. -
CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled. -
CANCEL_COMPLETE: The resource operation has been canceled.
- Parameters:
operationStatus- The current status of the resource operation request.-
PENDING: The resource operation hasn't yet started. -
IN_PROGRESS: The resource operation is currently in progress. -
SUCCESS: The resource operation has successfully completed. -
FAILED: The resource operation has failed. Refer to the error code and status message for more information. -
CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled. -
CANCEL_COMPLETE: The resource operation has been canceled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OperationStatus,OperationStatus
-
-
eventTime
ProgressEvent.Builder eventTime(Instant eventTime)
When the resource operation request was initiated.
- Parameters:
eventTime- When the resource operation request was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceModel
ProgressEvent.Builder resourceModel(String resourceModel)
A JSON string containing the resource model, consisting of each resource property and its current value.
- Parameters:
resourceModel- A JSON string containing the resource model, consisting of each resource property and its current value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusMessage
ProgressEvent.Builder statusMessage(String statusMessage)
Any message explaining the current status.
- Parameters:
statusMessage- Any message explaining the current status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
ProgressEvent.Builder errorCode(String errorCode)
For requests with a status of
FAILED, the associated error code.For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
- Parameters:
errorCode- For requests with a status ofFAILED, the associated error code.For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HandlerErrorCode,HandlerErrorCode
-
errorCode
ProgressEvent.Builder errorCode(HandlerErrorCode errorCode)
For requests with a status of
FAILED, the associated error code.For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
- Parameters:
errorCode- For requests with a status ofFAILED, the associated error code.For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HandlerErrorCode,HandlerErrorCode
-
retryAfter
ProgressEvent.Builder retryAfter(Instant retryAfter)
When to next request the status of this resource operation request.
- Parameters:
retryAfter- When to next request the status of this resource operation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-