Interface SetupHistoryResource.Builder

  • Method Details

    • name

      The name of the Lightsail resource.

      Parameters:
      name - The name of the Lightsail resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the Lightsail resource.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the Lightsail resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      SetupHistoryResource.Builder createdAt(Instant createdAt)

      The timestamp for when the resource was created.

      Parameters:
      createdAt - The timestamp for when the resource was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      Sets the value of the Location property for this object.
      Parameters:
      location - The new value for the Location property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      Sets the value of the Location property for this object. 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:
    • resourceType

      SetupHistoryResource.Builder resourceType(String resourceType)

      The Lightsail resource type. For example, Instance.

      Parameters:
      resourceType - The Lightsail resource type. For example, Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      SetupHistoryResource.Builder resourceType(ResourceType resourceType)

      The Lightsail resource type. For example, Instance.

      Parameters:
      resourceType - The Lightsail resource type. For example, Instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: