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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Operation.BuildercreatedAt(Instant createdAt)The timestamp when the operation was initialized (1479816991.349).Operation.BuildererrorCode(String errorCode)The error code.Operation.BuildererrorDetails(String errorDetails)The error details.Operation.Builderid(String id)The ID of the operation.Operation.BuilderisTerminal(Boolean isTerminal)A Boolean value indicating whether the operation is terminal.default Operation.Builderlocation(Consumer<ResourceLocation.Builder> location)The Amazon Web Services Region and Availability Zone.Operation.Builderlocation(ResourceLocation location)The Amazon Web Services Region and Availability Zone.Operation.BuilderoperationDetails(String operationDetails)Details about the operation (Debian-1GB-Ohio-1).Operation.BuilderoperationType(String operationType)The type of operation.Operation.BuilderoperationType(OperationType operationType)The type of operation.Operation.BuilderresourceName(String resourceName)The resource name.Operation.BuilderresourceType(String resourceType)The resource type.Operation.BuilderresourceType(ResourceType resourceType)The resource type.Operation.Builderstatus(String status)The status of the operation.Operation.Builderstatus(OperationStatus status)The status of the operation.Operation.BuilderstatusChangedAt(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 Detail
-
id
Operation.Builder id(String 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
Operation.Builder resourceName(String 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
Operation.Builder resourceType(String 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,ResourceType
-
resourceType
Operation.Builder resourceType(ResourceType 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,ResourceType
-
createdAt
Operation.Builder createdAt(Instant 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
Operation.Builder location(ResourceLocation 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
default Operation.Builder location(Consumer<ResourceLocation.Builder> location)
The Amazon Web Services Region and Availability Zone.
This is a convenience method that creates an instance of theResourceLocation.Builderavoiding the need to create one manually viaResourceLocation.builder().When the
Consumercompletes,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:
location(ResourceLocation)
-
isTerminal
Operation.Builder isTerminal(Boolean 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
Operation.Builder operationDetails(String 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
Operation.Builder operationType(String 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,OperationType
-
operationType
Operation.Builder operationType(OperationType 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,OperationType
-
status
Operation.Builder status(String 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:
OperationStatus,OperationStatus
-
status
Operation.Builder status(OperationStatus 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:
OperationStatus,OperationStatus
-
statusChangedAt
Operation.Builder statusChangedAt(Instant 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
Operation.Builder errorCode(String 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
Operation.Builder errorDetails(String errorDetails)
The error details.
- Parameters:
errorDetails- The error details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-