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.BuildercontrolIdentifier(String controlIdentifier)ThecontrolIdentifierof the control for the operation.ControlOperation.BuilderenabledControlIdentifier(String enabledControlIdentifier)ThecontrolIdentifierof the enabled control.ControlOperation.BuilderendTime(Instant endTime)The time that the operation finished.ControlOperation.BuilderoperationIdentifier(String operationIdentifier)The identifier of the specified operation.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.ControlOperation.BuildertargetIdentifier(String targetIdentifier)The target upon which the control operation is working.-
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
-
controlIdentifier
ControlOperation.Builder controlIdentifier(String controlIdentifier)
The
controlIdentifierof the control for the operation.- Parameters:
controlIdentifier- ThecontrolIdentifierof the control for the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledControlIdentifier
ControlOperation.Builder enabledControlIdentifier(String enabledControlIdentifier)
The
controlIdentifierof the enabled control.- Parameters:
enabledControlIdentifier- ThecontrolIdentifierof the enabled control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
operationIdentifier
ControlOperation.Builder operationIdentifier(String operationIdentifier)
The identifier of the specified operation.
- Parameters:
operationIdentifier- The identifier of the specified operation.- 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.
-
targetIdentifier
ControlOperation.Builder targetIdentifier(String targetIdentifier)
The target upon which the control operation is working.
- Parameters:
targetIdentifier- The target upon which the control operation is working.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-