Interface LogFieldsListItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LogFieldsListItem.Builder,,LogFieldsListItem> SdkBuilder<LogFieldsListItem.Builder,,LogFieldsListItem> SdkPojo
- Enclosing class:
LogFieldsListItem
@Mutable
@NotThreadSafe
public static interface LogFieldsListItem.Builder
extends SdkPojo, CopyableBuilder<LogFieldsListItem.Builder,LogFieldsListItem>
-
Method Summary
Modifier and TypeMethodDescriptionlogFieldName(String logFieldName) The name of the log field.default LogFieldsListItem.BuilderlogFieldType(Consumer<LogFieldType.Builder> logFieldType) The data type information for the log field.logFieldType(LogFieldType logFieldType) The data type information for the log field.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
-
logFieldName
The name of the log field.
- Parameters:
logFieldName- The name of the log field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logFieldType
The data type information for the log field.
- Parameters:
logFieldType- The data type information for the log field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logFieldType
The data type information for the log field.
This is a convenience method that creates an instance of theLogFieldType.Builderavoiding the need to create one manually viaLogFieldType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologFieldType(LogFieldType).- Parameters:
logFieldType- a consumer that will call methods onLogFieldType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-