Interface ContextSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ContextSummary.Builder,,ContextSummary> SdkBuilder<ContextSummary.Builder,,ContextSummary> SdkPojo
- Enclosing class:
ContextSummary
@Mutable
@NotThreadSafe
public static interface ContextSummary.Builder
extends SdkPojo, CopyableBuilder<ContextSummary.Builder,ContextSummary>
-
Method Summary
Modifier and TypeMethodDescriptioncontextArn(String contextArn) The Amazon Resource Name (ARN) of the context.contextName(String contextName) The name of the context.contextType(String contextType) The type of the context.creationTime(Instant creationTime) When the context was created.lastModifiedTime(Instant lastModifiedTime) When the context was last modified.default ContextSummary.Buildersource(Consumer<ContextSource.Builder> source) The source of the context.source(ContextSource source) The source of the context.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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 theContextSource.Builderavoiding the need to create one manually viaContextSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(ContextSource).- Parameters:
source- a consumer that will call methods onContextSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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.
-