Interface ContextSummary.Builder

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

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

    • contextArn

      ContextSummary.Builder contextArn(String contextArn)

      The Amazon Resource Name (ARN) of the context.

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

      ContextSummary.Builder contextName(String contextName)

      The name of the context.

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

      The source of the context.

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

      The source of the context.

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

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

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

      ContextSummary.Builder contextType(String contextType)

      The type of the context.

      Parameters:
      contextType - The type of the context.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      ContextSummary.Builder creationTime(Instant creationTime)

      When the context was created.

      Parameters:
      creationTime - When the context was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      ContextSummary.Builder lastModifiedTime(Instant lastModifiedTime)

      When the context was last modified.

      Parameters:
      lastModifiedTime - When the context was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.