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

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

    • name

      The name of the resource.

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

      The Amazon resource name (ARN) of the resource.

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

      Resource.Builder associationTime(Instant associationTime)

      The time the resource was associated with the application.

      Parameters:
      associationTime - The time the resource was associated with the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • integrations

      Resource.Builder integrations(ResourceIntegrations integrations)

      The service integration information about the resource.

      Parameters:
      integrations - The service integration information about the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • integrations

      default Resource.Builder integrations(Consumer<ResourceIntegrations.Builder> integrations)

      The service integration information about the resource.

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

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

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