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
Modifier and TypeMethodDescriptiondefault TopicSortClause.Builderoperand(Consumer<Identifier.Builder> operand) The operand for aTopicSortClause.operand(Identifier operand) The operand for aTopicSortClause.sortDirection(String sortDirection) The sort direction for theTopicSortClause.sortDirection(TopicSortDirection sortDirection) The sort direction for theTopicSortClause.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
-
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
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:
-
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:
-
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:
-