Interface Operation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Operation.Builder,Operation>,SdkBuilder<Operation.Builder,Operation>,SdkPojo
- Enclosing class:
- Operation
@Mutable @NotThreadSafe public static interface Operation.Builder extends SdkPojo, CopyableBuilder<Operation.Builder,Operation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Operation.BuildercallbackDetails(Consumer<CallbackDetails.Builder> callbackDetails)Sets the value of the CallbackDetails property for this object.Operation.BuildercallbackDetails(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.Operation.BuilderchainedInvokeDetails(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.Operation.BuildercontextDetails(ContextDetails contextDetails)Details about the context, if this operation represents a context.Operation.BuilderendTimestamp(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.Operation.BuilderexecutionDetails(ExecutionDetails executionDetails)Details about the execution, if this operation represents an execution.Operation.Builderid(String id)The unique identifier for this operation.Operation.Buildername(String name)The customer-provided name for this operation.Operation.BuilderparentId(String parentId)The unique identifier of the parent operation, if this operation is running within a child context.Operation.BuilderstartTimestamp(Instant startTimestamp)The date and time when the operation started, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).Operation.Builderstatus(String status)The current status of the operation.Operation.Builderstatus(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.Operation.BuilderstepDetails(StepDetails stepDetails)Details about the step, if this operation represents a step.Operation.BuildersubType(String subType)The subtype of the operation, providing additional categorization.Operation.Buildertype(String type)The type of operation.Operation.Buildertype(OperationType type)The type of operation.default Operation.BuilderwaitDetails(Consumer<WaitDetails.Builder> waitDetails)Details about the wait operation, if this operation represents a wait.Operation.BuilderwaitDetails(WaitDetails waitDetails)Details about the wait operation, if this operation represents a wait.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
Operation.Builder id(String 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
Operation.Builder parentId(String 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
Operation.Builder name(String 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
Operation.Builder type(String 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:
OperationType,OperationType
-
type
Operation.Builder type(OperationType 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:
OperationType,OperationType
-
subType
Operation.Builder subType(String 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
Operation.Builder startTimestamp(Instant 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
Operation.Builder endTimestamp(Instant 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
Operation.Builder status(String 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:
OperationStatus,OperationStatus
-
status
Operation.Builder status(OperationStatus 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:
OperationStatus,OperationStatus
-
executionDetails
Operation.Builder executionDetails(ExecutionDetails 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
default Operation.Builder executionDetails(Consumer<ExecutionDetails.Builder> 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:
executionDetails(ExecutionDetails)
-
contextDetails
Operation.Builder contextDetails(ContextDetails 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
default Operation.Builder contextDetails(Consumer<ContextDetails.Builder> 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:
contextDetails(ContextDetails)
-
stepDetails
Operation.Builder stepDetails(StepDetails 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
default Operation.Builder stepDetails(Consumer<StepDetails.Builder> 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:
stepDetails(StepDetails)
-
waitDetails
Operation.Builder waitDetails(WaitDetails 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
default Operation.Builder waitDetails(Consumer<WaitDetails.Builder> 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:
waitDetails(WaitDetails)
-
callbackDetails
Operation.Builder callbackDetails(CallbackDetails 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
default Operation.Builder callbackDetails(Consumer<CallbackDetails.Builder> 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:
callbackDetails(CallbackDetails)
-
chainedInvokeDetails
Operation.Builder chainedInvokeDetails(ChainedInvokeDetails 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:
chainedInvokeDetails(ChainedInvokeDetails)
-
-