Interface ListAssetContractsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAssetContractsResponse.Builder,ListAssetContractsResponse>,ManagedBlockchainQueryResponse.Builder,SdkBuilder<ListAssetContractsResponse.Builder,ListAssetContractsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAssetContractsResponse
public static interface ListAssetContractsResponse.Builder extends ManagedBlockchainQueryResponse.Builder, SdkPojo, CopyableBuilder<ListAssetContractsResponse.Builder,ListAssetContractsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAssetContractsResponse.Buildercontracts(Collection<AssetContract> contracts)An array of contract objects that contain the properties for each contract.ListAssetContractsResponse.Buildercontracts(Consumer<AssetContract.Builder>... contracts)An array of contract objects that contain the properties for each contract.ListAssetContractsResponse.Buildercontracts(AssetContract... contracts)An array of contract objects that contain the properties for each contract.ListAssetContractsResponse.BuildernextToken(String nextToken)The pagination token that indicates the next set of results to retrieve.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryResponse.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 Detail
-
contracts
ListAssetContractsResponse.Builder contracts(Collection<AssetContract> contracts)
An array of contract objects that contain the properties for each contract.
- Parameters:
contracts- An array of contract objects that contain the properties for each contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contracts
ListAssetContractsResponse.Builder contracts(AssetContract... contracts)
An array of contract objects that contain the properties for each contract.
- Parameters:
contracts- An array of contract objects that contain the properties for each contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contracts
ListAssetContractsResponse.Builder contracts(Consumer<AssetContract.Builder>... contracts)
An array of contract objects that contain the properties for each contract.
This is a convenience method that creates an instance of theAssetContract.Builderavoiding the need to create one manually viaAssetContract.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#contracts(List.) - Parameters:
contracts- a consumer that will call methods onAssetContract.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#contracts(java.util.Collection)
-
nextToken
ListAssetContractsResponse.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.
-
-