Interface ListBrandsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBrandsResponse.Builder,ListBrandsResponse>,QuickSightResponse.Builder,SdkBuilder<ListBrandsResponse.Builder,ListBrandsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListBrandsResponse
@Mutable @NotThreadSafe public static interface ListBrandsResponse.Builder extends QuickSightResponse.Builder, SdkPojo, CopyableBuilder<ListBrandsResponse.Builder,ListBrandsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBrandsResponse.Builderbrands(Collection<BrandSummary> brands)A list of all brands in your Amazon Web Services account.ListBrandsResponse.Builderbrands(Consumer<BrandSummary.Builder>... brands)A list of all brands in your Amazon Web Services account.ListBrandsResponse.Builderbrands(BrandSummary... brands)A list of all brands in your Amazon Web Services account.ListBrandsResponse.BuildernextToken(String nextToken)The token for the next set of results, or null if there are no more results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListBrandsResponse.Builder nextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
- Parameters:
nextToken- The token for the next set of results, or null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brands
ListBrandsResponse.Builder brands(Collection<BrandSummary> brands)
A list of all brands in your Amazon Web Services account. This structure provides basic information about each brand.
- Parameters:
brands- A list of all brands in your Amazon Web Services account. This structure provides basic information about each brand.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brands
ListBrandsResponse.Builder brands(BrandSummary... brands)
A list of all brands in your Amazon Web Services account. This structure provides basic information about each brand.
- Parameters:
brands- A list of all brands in your Amazon Web Services account. This structure provides basic information about each brand.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brands
ListBrandsResponse.Builder brands(Consumer<BrandSummary.Builder>... brands)
A list of all brands in your Amazon Web Services account. This structure provides basic information about each brand.
This is a convenience method that creates an instance of theBrandSummary.Builderavoiding the need to create one manually viaBrandSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#brands(List.) - Parameters:
brands- a consumer that will call methods onBrandSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#brands(java.util.Collection)
-
-