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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ContextSummary.BuildercontextArn(String contextArn)The Amazon Resource Name (ARN) of the context.ContextSummary.BuildercontextName(String contextName)The name of the context.ContextSummary.BuildercontextType(String contextType)The type of the context.ContextSummary.BuildercreationTime(Instant creationTime)When the context was created.ContextSummary.BuilderlastModifiedTime(Instant lastModifiedTime)When the context was last modified.default ContextSummary.Buildersource(Consumer<ContextSource.Builder> source)The source of the context.ContextSummary.Buildersource(ContextSource source)The source of the context.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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
ContextSummary.Builder source(ContextSource 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
default ContextSummary.Builder source(Consumer<ContextSource.Builder> 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:
source(ContextSource)
-
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.
-
-