Interface TopicSortClause.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TopicSortClause.Builder,TopicSortClause>,SdkBuilder<TopicSortClause.Builder,TopicSortClause>,SdkPojo
- Enclosing class:
- TopicSortClause
@Mutable @NotThreadSafe public static interface TopicSortClause.Builder extends SdkPojo, CopyableBuilder<TopicSortClause.Builder,TopicSortClause>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TopicSortClause.Builderoperand(Consumer<Identifier.Builder> operand)The operand for aTopicSortClause.TopicSortClause.Builderoperand(Identifier operand)The operand for aTopicSortClause.TopicSortClause.BuildersortDirection(String sortDirection)The sort direction for theTopicSortClause.TopicSortClause.BuildersortDirection(TopicSortDirection sortDirection)The sort direction for theTopicSortClause.-
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
-
operand
TopicSortClause.Builder operand(Identifier operand)
The operand for a
TopicSortClause.- Parameters:
operand- The operand for aTopicSortClause.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operand
default TopicSortClause.Builder operand(Consumer<Identifier.Builder> operand)
The operand for a
This is a convenience method that creates an instance of theTopicSortClause.Identifier.Builderavoiding the need to create one manually viaIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooperand(Identifier).- Parameters:
operand- a consumer that will call methods onIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
operand(Identifier)
-
sortDirection
TopicSortClause.Builder sortDirection(String sortDirection)
The sort direction for the
TopicSortClause.- Parameters:
sortDirection- The sort direction for theTopicSortClause.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TopicSortDirection,TopicSortDirection
-
sortDirection
TopicSortClause.Builder sortDirection(TopicSortDirection sortDirection)
The sort direction for the
TopicSortClause.- Parameters:
sortDirection- The sort direction for theTopicSortClause.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TopicSortDirection,TopicSortDirection
-
-