Interface DescribeBrokerInstanceOptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeBrokerInstanceOptionsResponse.Builder,
,DescribeBrokerInstanceOptionsResponse> MqResponse.Builder
,SdkBuilder<DescribeBrokerInstanceOptionsResponse.Builder,
,DescribeBrokerInstanceOptionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeBrokerInstanceOptionsResponse
public static interface DescribeBrokerInstanceOptionsResponse.Builder
extends MqResponse.Builder, SdkPojo, CopyableBuilder<DescribeBrokerInstanceOptionsResponse.Builder,DescribeBrokerInstanceOptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbrokerInstanceOptions
(Collection<BrokerInstanceOption> brokerInstanceOptions) List of available broker instance options.brokerInstanceOptions
(Consumer<BrokerInstanceOption.Builder>... brokerInstanceOptions) List of available broker instance options.brokerInstanceOptions
(BrokerInstanceOption... brokerInstanceOptions) List of available broker instance options.maxResults
(Integer maxResults) Required.The token that specifies the next page of results Amazon MQ should return.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mq.model.MqResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
brokerInstanceOptions
DescribeBrokerInstanceOptionsResponse.Builder brokerInstanceOptions(Collection<BrokerInstanceOption> brokerInstanceOptions) List of available broker instance options.
- Parameters:
brokerInstanceOptions
- List of available broker instance options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerInstanceOptions
DescribeBrokerInstanceOptionsResponse.Builder brokerInstanceOptions(BrokerInstanceOption... brokerInstanceOptions) List of available broker instance options.
- Parameters:
brokerInstanceOptions
- List of available broker instance options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerInstanceOptions
DescribeBrokerInstanceOptionsResponse.Builder brokerInstanceOptions(Consumer<BrokerInstanceOption.Builder>... brokerInstanceOptions) List of available broker instance options.
This is a convenience method that creates an instance of theBrokerInstanceOption.Builder
avoiding the need to create one manually viaBrokerInstanceOption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobrokerInstanceOptions(List<BrokerInstanceOption>)
.- Parameters:
brokerInstanceOptions
- a consumer that will call methods onBrokerInstanceOption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
Required. The maximum number of instance options that can be returned per page (20 by default). This value must be an integer from 5 to 100.
- Parameters:
maxResults
- Required. The maximum number of instance options that can be returned per page (20 by default). This value must be an integer from 5 to 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
- Parameters:
nextToken
- The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-