Interface ControlOperation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ControlOperation.Builder,ControlOperation>,SdkBuilder<ControlOperation.Builder,ControlOperation>,SdkPojo
- Enclosing class:
- ControlOperation
public static interface ControlOperation.Builder extends SdkPojo, CopyableBuilder<ControlOperation.Builder,ControlOperation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ControlOperation.BuilderendTime(Instant endTime)The time that the operation finished.ControlOperation.BuilderoperationType(String operationType)One ofENABLE_CONTROLorDISABLE_CONTROL.ControlOperation.BuilderoperationType(ControlOperationType operationType)One ofENABLE_CONTROLorDISABLE_CONTROL.ControlOperation.BuilderstartTime(Instant startTime)The time that the operation began.ControlOperation.Builderstatus(String status)One ofIN_PROGRESS,SUCEEDED, orFAILED.ControlOperation.Builderstatus(ControlOperationStatus status)One ofIN_PROGRESS,SUCEEDED, orFAILED.ControlOperation.BuilderstatusMessage(String statusMessage)If the operation result isFAILED, this string contains a message explaining why the operation failed.-
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
-
endTime
ControlOperation.Builder endTime(Instant endTime)
The time that the operation finished.
- Parameters:
endTime- The time that the operation finished.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationType
ControlOperation.Builder operationType(String operationType)
One of
ENABLE_CONTROLorDISABLE_CONTROL.- Parameters:
operationType- One ofENABLE_CONTROLorDISABLE_CONTROL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ControlOperationType,ControlOperationType
-
operationType
ControlOperation.Builder operationType(ControlOperationType operationType)
One of
ENABLE_CONTROLorDISABLE_CONTROL.- Parameters:
operationType- One ofENABLE_CONTROLorDISABLE_CONTROL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ControlOperationType,ControlOperationType
-
startTime
ControlOperation.Builder startTime(Instant startTime)
The time that the operation began.
- Parameters:
startTime- The time that the operation began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ControlOperation.Builder status(String status)
One of
IN_PROGRESS,SUCEEDED, orFAILED.- Parameters:
status- One ofIN_PROGRESS,SUCEEDED, orFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ControlOperationStatus,ControlOperationStatus
-
status
ControlOperation.Builder status(ControlOperationStatus status)
One of
IN_PROGRESS,SUCEEDED, orFAILED.- Parameters:
status- One ofIN_PROGRESS,SUCEEDED, orFAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ControlOperationStatus,ControlOperationStatus
-
statusMessage
ControlOperation.Builder statusMessage(String statusMessage)
If the operation result is
FAILED, this string contains a message explaining why the operation failed.- Parameters:
statusMessage- If the operation result isFAILED, this string contains a message explaining why the operation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-