Interface Operation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Operation.Builder,
,Operation> SdkBuilder<Operation.Builder,
,Operation> SdkPojo
- Enclosing class:
Operation
public static interface Operation.Builder
extends SdkPojo, CopyableBuilder<Operation.Builder,Operation>
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the operation was initialized (1479816991.349
).The error code.errorDetails
(String errorDetails) The error details.The ID of the operation.isTerminal
(Boolean isTerminal) A Boolean value indicating whether the operation is terminal.default Operation.Builder
location
(Consumer<ResourceLocation.Builder> location) The Amazon Web Services Region and Availability Zone.location
(ResourceLocation location) The Amazon Web Services Region and Availability Zone.operationDetails
(String operationDetails) Details about the operation (Debian-1GB-Ohio-1
).operationType
(String operationType) The type of operation.operationType
(OperationType operationType) The type of operation.resourceName
(String resourceName) The resource name.resourceType
(String resourceType) The resource type.resourceType
(ResourceType resourceType) The resource type.The status of the operation.status
(OperationStatus status) The status of the operation.statusChangedAt
(Instant statusChangedAt) The timestamp when the status was changed (1479816991.349
).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 Details
-
id
The ID of the operation.
- Parameters:
id
- The ID of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceName
The resource name.
- Parameters:
resourceName
- The resource name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The resource type.
- Parameters:
resourceType
- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The resource type.
- Parameters:
resourceType
- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the operation was initialized (
1479816991.349
).- Parameters:
createdAt
- The timestamp when the operation was initialized (1479816991.349
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The Amazon Web Services Region and Availability Zone.
- Parameters:
location
- The Amazon Web Services Region and Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The Amazon Web Services Region and Availability Zone.
This is a convenience method that creates an instance of theResourceLocation.Builder
avoiding the need to create one manually viaResourceLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocation(ResourceLocation)
.- Parameters:
location
- a consumer that will call methods onResourceLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isTerminal
A Boolean value indicating whether the operation is terminal.
- Parameters:
isTerminal
- A Boolean value indicating whether the operation is terminal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationDetails
Details about the operation (
Debian-1GB-Ohio-1
).- Parameters:
operationDetails
- Details about the operation (Debian-1GB-Ohio-1
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationType
The type of operation.
- Parameters:
operationType
- The type of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operationType
The type of operation.
- Parameters:
operationType
- The type of operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the operation.
- Parameters:
status
- The status of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the operation.
- Parameters:
status
- The status of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusChangedAt
The timestamp when the status was changed (
1479816991.349
).- Parameters:
statusChangedAt
- The timestamp when the status was changed (1479816991.349
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
The error code.
- Parameters:
errorCode
- The error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
The error details.
- Parameters:
errorDetails
- The error details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-