Interface Memory.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Memory.Builder,,Memory> SdkBuilder<Memory.Builder,,Memory> SdkPojo
- Enclosing class:
Memory
-
Method Summary
Modifier and TypeMethodDescriptiondefault Memory.BuildersessionSummary(Consumer<MemorySessionSummary.Builder> sessionSummary) Contains summary of a session.sessionSummary(MemorySessionSummary sessionSummary) Contains summary of a session.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, sdkFields
-
Method Details
-
sessionSummary
Contains summary of a session.
- Parameters:
sessionSummary- Contains summary of a session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionSummary
Contains summary of a session.
This is a convenience method that creates an instance of theMemorySessionSummary.Builderavoiding the need to create one manually viaMemorySessionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionSummary(MemorySessionSummary).- Parameters:
sessionSummary- a consumer that will call methods onMemorySessionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-