Interface TopicSortClause.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TopicSortClause.Builder,
,TopicSortClause> SdkBuilder<TopicSortClause.Builder,
,TopicSortClause> SdkPojo
- Enclosing class:
TopicSortClause
public static interface TopicSortClause.Builder
extends SdkPojo, CopyableBuilder<TopicSortClause.Builder,TopicSortClause>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TopicSortClause.Builder
operand
(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
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
-
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.Builder
avoiding the need to create one manually viaIdentifier.builder()
.When the
Consumer
completes,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:
-