Interface ListBrokersRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListBrokersRequest.Builder,ListBrokersRequest>,MqRequest.Builder,SdkBuilder<ListBrokersRequest.Builder,ListBrokersRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListBrokersRequest
public static interface ListBrokersRequest.Builder extends MqRequest.Builder, SdkPojo, CopyableBuilder<ListBrokersRequest.Builder,ListBrokersRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListBrokersRequest.BuildermaxResults(Integer maxResults)The maximum number of brokers that Amazon MQ can return per page (20 by default).ListBrokersRequest.BuildernextToken(String nextToken)The token that specifies the next page of results Amazon MQ should return.ListBrokersRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListBrokersRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mq.model.MqRequest.Builder
build
-
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
-
maxResults
ListBrokersRequest.Builder maxResults(Integer maxResults)
The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
- Parameters:
maxResults- The maximum number of brokers that Amazon MQ can return 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
ListBrokersRequest.Builder nextToken(String 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.
-
overrideConfiguration
ListBrokersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListBrokersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-