Interface ListAssetContractsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListAssetContractsRequest.Builder,ListAssetContractsRequest>,ManagedBlockchainQueryRequest.Builder,SdkBuilder<ListAssetContractsRequest.Builder,ListAssetContractsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListAssetContractsRequest
public static interface ListAssetContractsRequest.Builder extends ManagedBlockchainQueryRequest.Builder, SdkPojo, CopyableBuilder<ListAssetContractsRequest.Builder,ListAssetContractsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListAssetContractsRequest.BuildercontractFilter(Consumer<ContractFilter.Builder> contractFilter)Contains the filter parameter for the request.ListAssetContractsRequest.BuildercontractFilter(ContractFilter contractFilter)Contains the filter parameter for the request.ListAssetContractsRequest.BuildermaxResults(Integer maxResults)The maximum number of contracts to list.ListAssetContractsRequest.BuildernextToken(String nextToken)The pagination token that indicates the next set of results to retrieve.ListAssetContractsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListAssetContractsRequest.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.managedblockchainquery.model.ManagedBlockchainQueryRequest.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
-
contractFilter
ListAssetContractsRequest.Builder contractFilter(ContractFilter contractFilter)
Contains the filter parameter for the request.
- Parameters:
contractFilter- Contains the filter parameter for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractFilter
default ListAssetContractsRequest.Builder contractFilter(Consumer<ContractFilter.Builder> contractFilter)
Contains the filter parameter for the request.
This is a convenience method that creates an instance of theContractFilter.Builderavoiding the need to create one manually viaContractFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontractFilter(ContractFilter).- Parameters:
contractFilter- a consumer that will call methods onContractFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
contractFilter(ContractFilter)
-
nextToken
ListAssetContractsRequest.Builder nextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
- Parameters:
nextToken- The pagination token that indicates the next set of results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListAssetContractsRequest.Builder maxResults(Integer maxResults)
The maximum number of contracts to list.
Default:
100Even if additional results can be retrieved, the request can return less results than
maxResultsor an empty array of results.To retrieve the next set of results, make another request with the returned
nextTokenvalue. The value ofnextTokenisnullwhen there are no more results to return- Parameters:
maxResults- The maximum number of contracts to list.Default:
100Even if additional results can be retrieved, the request can return less results than
maxResultsor an empty array of results.To retrieve the next set of results, make another request with the returned
nextTokenvalue. The value ofnextTokenisnullwhen there are no more results to return- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListAssetContractsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListAssetContractsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-