Interface ListAnalyticsDataAssociationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<ListAnalyticsDataAssociationsResponse.Builder,ListAnalyticsDataAssociationsResponse>,SdkBuilder<ListAnalyticsDataAssociationsResponse.Builder,ListAnalyticsDataAssociationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAnalyticsDataAssociationsResponse
public static interface ListAnalyticsDataAssociationsResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListAnalyticsDataAssociationsResponse.Builder,ListAnalyticsDataAssociationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAnalyticsDataAssociationsResponse.BuildernextToken(String nextToken)If there are additional results, this is the token for the next set of results.ListAnalyticsDataAssociationsResponse.Builderresults(Collection<AnalyticsDataAssociationResult> results)An array of successful results:DataSetId,TargetAccountId,ResourceShareId,ResourceShareArn.ListAnalyticsDataAssociationsResponse.Builderresults(Consumer<AnalyticsDataAssociationResult.Builder>... results)An array of successful results:DataSetId,TargetAccountId,ResourceShareId,ResourceShareArn.ListAnalyticsDataAssociationsResponse.Builderresults(AnalyticsDataAssociationResult... results)An array of successful results:DataSetId,TargetAccountId,ResourceShareId,ResourceShareArn.-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
results
ListAnalyticsDataAssociationsResponse.Builder results(Collection<AnalyticsDataAssociationResult> results)
An array of successful results:
DataSetId,TargetAccountId,ResourceShareId,ResourceShareArn. This is a paginated API, sonextTokenis given if there are more results to be returned.- Parameters:
results- An array of successful results:DataSetId,TargetAccountId,ResourceShareId,ResourceShareArn. This is a paginated API, sonextTokenis given if there are more results to be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
ListAnalyticsDataAssociationsResponse.Builder results(AnalyticsDataAssociationResult... results)
An array of successful results:
DataSetId,TargetAccountId,ResourceShareId,ResourceShareArn. This is a paginated API, sonextTokenis given if there are more results to be returned.- Parameters:
results- An array of successful results:DataSetId,TargetAccountId,ResourceShareId,ResourceShareArn. This is a paginated API, sonextTokenis given if there are more results to be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
ListAnalyticsDataAssociationsResponse.Builder results(Consumer<AnalyticsDataAssociationResult.Builder>... results)
An array of successful results:
This is a convenience method that creates an instance of theDataSetId,TargetAccountId,ResourceShareId,ResourceShareArn. This is a paginated API, sonextTokenis given if there are more results to be returned.AnalyticsDataAssociationResult.Builderavoiding the need to create one manually viaAnalyticsDataAssociationResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#results(List.) - Parameters:
results- a consumer that will call methods onAnalyticsDataAssociationResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#results(java.util.Collection)
-
nextToken
ListAnalyticsDataAssociationsResponse.Builder nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-