Interface Page.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Page.Builder,Page>,SdkBuilder<Page.Builder,Page>,SdkPojo
- Enclosing class:
- Page
public static interface Page.Builder extends SdkPojo, CopyableBuilder<Page.Builder,Page>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Page.BuildernextPageToken(String nextPageToken)The token of the next page.Page.Buildervalues(Collection<ValueHolder> values)A structure that contains values in multiple encoding formats.Page.Buildervalues(Consumer<ValueHolder.Builder>... values)A structure that contains values in multiple encoding formats.Page.Buildervalues(ValueHolder... values)A structure that contains values in multiple encoding formats.-
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 Detail
-
values
Page.Builder values(Collection<ValueHolder> values)
A structure that contains values in multiple encoding formats.
- Parameters:
values- A structure that contains values in multiple encoding formats.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
Page.Builder values(ValueHolder... values)
A structure that contains values in multiple encoding formats.
- Parameters:
values- A structure that contains values in multiple encoding formats.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
Page.Builder values(Consumer<ValueHolder.Builder>... values)
A structure that contains values in multiple encoding formats.
This is a convenience method that creates an instance of theValueHolder.Builderavoiding the need to create one manually viaValueHolder.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#values(List.) - Parameters:
values- a consumer that will call methods onValueHolder.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#values(java.util.Collection)
-
nextPageToken
Page.Builder nextPageToken(String nextPageToken)
The token of the next page.
- Parameters:
nextPageToken- The token of the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-