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
copyMethods inherited from interface software.amazon.awssdk.services.mq.model.MqResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaBrokerInstanceOption.builder().When the
Consumercompletes,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.
-