Interface ContentBlock.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<ContentBlock.Builder,,ContentBlock> SdkBuilder<ContentBlock.Builder,,ContentBlock> SdkPojo
- Enclosing class:
 ContentBlock
public static interface ContentBlock.Builder
extends SdkPojo, CopyableBuilder<ContentBlock.Builder,ContentBlock> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault ContentBlock.BuildercachePoint(Consumer<CachePointBlock.Builder> cachePoint) Creates a cache checkpoint within a message.cachePoint(CachePointBlock cachePoint) Creates a cache checkpoint within a message.The text in the message.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
- 
cachePoint
Creates a cache checkpoint within a message.
- Parameters:
 cachePoint- Creates a cache checkpoint within a message.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
cachePoint
Creates a cache checkpoint within a message.
This is a convenience method that creates an instance of theCachePointBlock.Builderavoiding the need to create one manually viaCachePointBlock.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocachePoint(CachePointBlock).- Parameters:
 cachePoint- a consumer that will call methods onCachePointBlock.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
text
The text in the message.
- Parameters:
 text- The text in the message.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -