CopyableBuilder<Operation.Builder,Operation>
, SdkBuilder<Operation.Builder,Operation>
public static interface Operation.Builder extends CopyableBuilder<Operation.Builder,Operation>
Modifier and Type | Method | Description |
---|---|---|
Operation.Builder |
createdAt(Date createdAt) |
The timestamp when the operation was initialized (e.g.,
1479816991.349 ). |
Operation.Builder |
errorCode(String errorCode) |
The error code.
|
Operation.Builder |
errorDetails(String errorDetails) |
The error details.
|
Operation.Builder |
id(String id) |
The ID of the operation.
|
Operation.Builder |
isTerminal(Boolean isTerminal) |
A Boolean value indicating whether the operation is terminal.
|
Operation.Builder |
location(ResourceLocation location) |
The region and Availability Zone.
|
Operation.Builder |
operationDetails(String operationDetails) |
Details about the operation (e.g.,
Debian-1GB-Virginia-1 ). |
Operation.Builder |
operationType(String operationType) |
The type of operation.
|
Operation.Builder |
operationType(OperationType operationType) |
The type of operation.
|
Operation.Builder |
resourceName(String resourceName) |
The resource name.
|
Operation.Builder |
resourceType(String resourceType) |
The resource type.
|
Operation.Builder |
resourceType(ResourceType resourceType) |
The resource type.
|
Operation.Builder |
status(String status) |
The status of the operation.
|
Operation.Builder |
status(OperationStatus status) |
The status of the operation.
|
Operation.Builder |
statusChangedAt(Date statusChangedAt) |
The timestamp when the status was changed (e.g.,
1479816991.349 ). |
copy
apply, build
Operation.Builder id(String id)
The ID of the operation.
id
- The ID of the operation.Operation.Builder resourceName(String resourceName)
The resource name.
resourceName
- The resource name.Operation.Builder resourceType(String resourceType)
The resource type.
resourceType
- The resource type.ResourceType
Operation.Builder resourceType(ResourceType resourceType)
The resource type.
resourceType
- The resource type.ResourceType
Operation.Builder createdAt(Date createdAt)
The timestamp when the operation was initialized (e.g., 1479816991.349
).
createdAt
- The timestamp when the operation was initialized (e.g., 1479816991.349
).Operation.Builder location(ResourceLocation location)
The region and Availability Zone.
location
- The region and Availability Zone.Operation.Builder isTerminal(Boolean isTerminal)
A Boolean value indicating whether the operation is terminal.
isTerminal
- A Boolean value indicating whether the operation is terminal.Operation.Builder operationDetails(String operationDetails)
Details about the operation (e.g., Debian-1GB-Virginia-1
).
operationDetails
- Details about the operation (e.g., Debian-1GB-Virginia-1
).Operation.Builder operationType(String operationType)
The type of operation.
operationType
- The type of operation.OperationType
Operation.Builder operationType(OperationType operationType)
The type of operation.
operationType
- The type of operation.OperationType
Operation.Builder status(String status)
The status of the operation.
status
- The status of the operation.OperationStatus
Operation.Builder status(OperationStatus status)
The status of the operation.
status
- The status of the operation.OperationStatus
Operation.Builder statusChangedAt(Date statusChangedAt)
The timestamp when the status was changed (e.g., 1479816991.349
).
statusChangedAt
- The timestamp when the status was changed (e.g., 1479816991.349
).Operation.Builder errorCode(String errorCode)
The error code.
errorCode
- The error code.Operation.Builder errorDetails(String errorDetails)
The error details.
errorDetails
- The error details.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.