Interface Operation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Operation.Builder,,Operation> SdkBuilder<Operation.Builder,,Operation> SdkPojo
- Enclosing class:
Operation
-
Method Summary
Modifier and TypeMethodDescriptiondefault Operation.BuildercallbackDetails(Consumer<CallbackDetails.Builder> callbackDetails) Sets the value of the CallbackDetails property for this object.callbackDetails(CallbackDetails callbackDetails) Sets the value of the CallbackDetails property for this object.default Operation.BuilderchainedInvokeDetails(Consumer<ChainedInvokeDetails.Builder> chainedInvokeDetails) Sets the value of the ChainedInvokeDetails property for this object.chainedInvokeDetails(ChainedInvokeDetails chainedInvokeDetails) Sets the value of the ChainedInvokeDetails property for this object.default Operation.BuildercontextDetails(Consumer<ContextDetails.Builder> contextDetails) Details about the context, if this operation represents a context.contextDetails(ContextDetails contextDetails) Details about the context, if this operation represents a context.endTimestamp(Instant endTimestamp) The date and time when the operation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).default Operation.BuilderexecutionDetails(Consumer<ExecutionDetails.Builder> executionDetails) Details about the execution, if this operation represents an execution.executionDetails(ExecutionDetails executionDetails) Details about the execution, if this operation represents an execution.The unique identifier for this operation.The customer-provided name for this operation.The unique identifier of the parent operation, if this operation is running within a child context.startTimestamp(Instant startTimestamp) The date and time when the operation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).The current status of the operation.status(OperationStatus status) The current status of the operation.default Operation.BuilderstepDetails(Consumer<StepDetails.Builder> stepDetails) Details about the step, if this operation represents a step.stepDetails(StepDetails stepDetails) Details about the step, if this operation represents a step.The subtype of the operation, providing additional categorization.The type of operation.type(OperationType type) The type of operation.default Operation.BuilderwaitDetails(Consumer<WaitDetails.Builder> waitDetails) Details about the wait operation, if this operation represents a wait.waitDetails(WaitDetails waitDetails) Details about the wait operation, if this operation represents a wait.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The unique identifier for this operation.
- Parameters:
id- The unique identifier for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentId
The unique identifier of the parent operation, if this operation is running within a child context.
- Parameters:
parentId- The unique identifier of the parent operation, if this operation is running within a child context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The customer-provided name for this operation.
- Parameters:
name- The customer-provided name for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of operation.
- Parameters:
type- The type of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of operation.
- Parameters:
type- The type of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subType
The subtype of the operation, providing additional categorization.
- Parameters:
subType- The subtype of the operation, providing additional categorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimestamp
The date and time when the operation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Parameters:
startTimestamp- The date and time when the operation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTimestamp
The date and time when the operation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Parameters:
endTimestamp- The date and time when the operation ended, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the operation.
- Parameters:
status- The current status of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the operation.
- Parameters:
status- The current status of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionDetails
Details about the execution, if this operation represents an execution.
- Parameters:
executionDetails- Details about the execution, if this operation represents an execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionDetails
Details about the execution, if this operation represents an execution.
This is a convenience method that creates an instance of theExecutionDetails.Builderavoiding the need to create one manually viaExecutionDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexecutionDetails(ExecutionDetails).- Parameters:
executionDetails- a consumer that will call methods onExecutionDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contextDetails
Details about the context, if this operation represents a context.
- Parameters:
contextDetails- Details about the context, if this operation represents a context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextDetails
Details about the context, if this operation represents a context.
This is a convenience method that creates an instance of theContextDetails.Builderavoiding the need to create one manually viaContextDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontextDetails(ContextDetails).- Parameters:
contextDetails- a consumer that will call methods onContextDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stepDetails
Details about the step, if this operation represents a step.
- Parameters:
stepDetails- Details about the step, if this operation represents a step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepDetails
Details about the step, if this operation represents a step.
This is a convenience method that creates an instance of theStepDetails.Builderavoiding the need to create one manually viaStepDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostepDetails(StepDetails).- Parameters:
stepDetails- a consumer that will call methods onStepDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
waitDetails
Details about the wait operation, if this operation represents a wait.
- Parameters:
waitDetails- Details about the wait operation, if this operation represents a wait.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
waitDetails
Details about the wait operation, if this operation represents a wait.
This is a convenience method that creates an instance of theWaitDetails.Builderavoiding the need to create one manually viaWaitDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towaitDetails(WaitDetails).- Parameters:
waitDetails- a consumer that will call methods onWaitDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
callbackDetails
Sets the value of the CallbackDetails property for this object.- Parameters:
callbackDetails- The new value for the CallbackDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callbackDetails
Sets the value of the CallbackDetails property for this object. This is a convenience method that creates an instance of theCallbackDetails.Builderavoiding the need to create one manually viaCallbackDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocallbackDetails(CallbackDetails).- Parameters:
callbackDetails- a consumer that will call methods onCallbackDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
chainedInvokeDetails
Sets the value of the ChainedInvokeDetails property for this object.- Parameters:
chainedInvokeDetails- The new value for the ChainedInvokeDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chainedInvokeDetails
default Operation.Builder chainedInvokeDetails(Consumer<ChainedInvokeDetails.Builder> chainedInvokeDetails) Sets the value of the ChainedInvokeDetails property for this object. This is a convenience method that creates an instance of theChainedInvokeDetails.Builderavoiding the need to create one manually viaChainedInvokeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochainedInvokeDetails(ChainedInvokeDetails).- Parameters:
chainedInvokeDetails- a consumer that will call methods onChainedInvokeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-