Interface LogFieldType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LogFieldType.Builder,LogFieldType>,SdkBuilder<LogFieldType.Builder,LogFieldType>,SdkPojo
- Enclosing class:
- LogFieldType
@Mutable @NotThreadSafe public static interface LogFieldType.Builder extends SdkPojo, CopyableBuilder<LogFieldType.Builder,LogFieldType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LogFieldType.Builderelement(Consumer<LogFieldType.Builder> element)For array or collection types, specifies the element type information.LogFieldType.Builderelement(LogFieldType element)For array or collection types, specifies the element type information.LogFieldType.Builderfields(Collection<LogFieldsListItem> fields)For complex types, contains the nested field definitions.LogFieldType.Builderfields(Consumer<LogFieldsListItem.Builder>... fields)For complex types, contains the nested field definitions.LogFieldType.Builderfields(LogFieldsListItem... fields)For complex types, contains the nested field definitions.LogFieldType.Buildertype(String type)The data type of the log field.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
LogFieldType.Builder type(String type)
The data type of the log field.
- Parameters:
type- The data type of the log field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
element
LogFieldType.Builder element(LogFieldType element)
For array or collection types, specifies the element type information.
- Parameters:
element- For array or collection types, specifies the element type information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
element
default LogFieldType.Builder element(Consumer<LogFieldType.Builder> element)
For array or collection types, specifies the element type information.
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 toelement(LogFieldType).- Parameters:
element- 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:
element(LogFieldType)
-
fields
LogFieldType.Builder fields(Collection<LogFieldsListItem> fields)
For complex types, contains the nested field definitions.
- Parameters:
fields- For complex types, contains the nested field definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
LogFieldType.Builder fields(LogFieldsListItem... fields)
For complex types, contains the nested field definitions.
- Parameters:
fields- For complex types, contains the nested field definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
LogFieldType.Builder fields(Consumer<LogFieldsListItem.Builder>... fields)
For complex types, contains the nested field definitions.
This is a convenience method that creates an instance of theLogFieldsListItem.Builderavoiding the need to create one manually viaLogFieldsListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fields(List.) - Parameters:
fields- a consumer that will call methods onLogFieldsListItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fields(java.util.Collection)
-
-