Interface LoggingFormat.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LoggingFormat.Builder,
,LoggingFormat> SdkBuilder<LoggingFormat.Builder,
,LoggingFormat> SdkPojo
- Enclosing class:
LoggingFormat
public static interface LoggingFormat.Builder
extends SdkPojo, CopyableBuilder<LoggingFormat.Builder,LoggingFormat>
-
Method Summary
Modifier and TypeMethodDescriptionjson
(Collection<JsonFormatRef> json) json
(Consumer<JsonFormatRef.Builder>... json) This is a convenience method that creates an instance of theJsonFormatRef.Builder
avoiding the need to create one manually viaJsonFormatRef.builder()
.json
(JsonFormatRef... json) 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 Details
-
json
- Parameters:
json
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
json
- Parameters:
json
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
json
This is a convenience method that creates an instance of theJsonFormatRef.Builder
avoiding the need to create one manually viaJsonFormatRef.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojson(List<JsonFormatRef>)
.- Parameters:
json
- a consumer that will call methods onJsonFormatRef.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
text
- Parameters:
text
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-