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 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

      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

      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:
    • 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 the ResourceLocation.Builder avoiding the need to create one manually via ResourceLocation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to location(ResourceLocation).

      Parameters:
      location - a consumer that will call methods on ResourceLocation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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:
    • 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

      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.