Interface InstanceSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InstanceSummary.Builder,InstanceSummary>, SdkBuilder<InstanceSummary.Builder,InstanceSummary>, SdkPojo
Enclosing class:
InstanceSummary

public static interface InstanceSummary.Builder extends SdkPojo, CopyableBuilder<InstanceSummary.Builder,InstanceSummary>
  • Method Details

    • instance

      InstanceSummary.Builder instance(Instance instance)

      A structure containing details about the instance.

      Parameters:
      instance - A structure containing details about the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instance

      default InstanceSummary.Builder instance(Consumer<Instance.Builder> instance)

      A structure containing details about the instance.

      This is a convenience method that creates an instance of the Instance.Builder avoiding the need to create one manually via Instance.builder().

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

      Parameters:
      instance - a consumer that will call methods on Instance.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastUpdatedAt

      InstanceSummary.Builder lastUpdatedAt(Instant lastUpdatedAt)

      When the instance summary was last updated.

      Parameters:
      lastUpdatedAt - When the instance summary was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.