Interface BatchAssociateAnalyticsDataSetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<BatchAssociateAnalyticsDataSetResponse.Builder,BatchAssociateAnalyticsDataSetResponse>
,SdkBuilder<BatchAssociateAnalyticsDataSetResponse.Builder,BatchAssociateAnalyticsDataSetResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- BatchAssociateAnalyticsDataSetResponse
public static interface BatchAssociateAnalyticsDataSetResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<BatchAssociateAnalyticsDataSetResponse.Builder,BatchAssociateAnalyticsDataSetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchAssociateAnalyticsDataSetResponse.Builder
created(Collection<AnalyticsDataAssociationResult> created)
Information about associations that are successfully created:DataSetId
,TargetAccountId
,ResourceShareId
,ResourceShareArn
.BatchAssociateAnalyticsDataSetResponse.Builder
created(Consumer<AnalyticsDataAssociationResult.Builder>... created)
Information about associations that are successfully created:DataSetId
,TargetAccountId
,ResourceShareId
,ResourceShareArn
.BatchAssociateAnalyticsDataSetResponse.Builder
created(AnalyticsDataAssociationResult... created)
Information about associations that are successfully created:DataSetId
,TargetAccountId
,ResourceShareId
,ResourceShareArn
.BatchAssociateAnalyticsDataSetResponse.Builder
errors(Collection<ErrorResult> errors)
A list of errors for datasets that aren't successfully associated with the target account.BatchAssociateAnalyticsDataSetResponse.Builder
errors(Consumer<ErrorResult.Builder>... errors)
A list of errors for datasets that aren't successfully associated with the target account.BatchAssociateAnalyticsDataSetResponse.Builder
errors(ErrorResult... errors)
A list of errors for datasets that aren't successfully associated with the target account.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
created
BatchAssociateAnalyticsDataSetResponse.Builder created(Collection<AnalyticsDataAssociationResult> created)
Information about associations that are successfully created:
DataSetId
,TargetAccountId
,ResourceShareId
,ResourceShareArn
.- Parameters:
created
- Information about associations that are successfully created:DataSetId
,TargetAccountId
,ResourceShareId
,ResourceShareArn
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
created
BatchAssociateAnalyticsDataSetResponse.Builder created(AnalyticsDataAssociationResult... created)
Information about associations that are successfully created:
DataSetId
,TargetAccountId
,ResourceShareId
,ResourceShareArn
.- Parameters:
created
- Information about associations that are successfully created:DataSetId
,TargetAccountId
,ResourceShareId
,ResourceShareArn
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
created
BatchAssociateAnalyticsDataSetResponse.Builder created(Consumer<AnalyticsDataAssociationResult.Builder>... created)
Information about associations that are successfully created:
This is a convenience method that creates an instance of theDataSetId
,TargetAccountId
,ResourceShareId
,ResourceShareArn
.AnalyticsDataAssociationResult.Builder
avoiding the need to create one manually viaAnalyticsDataAssociationResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#created(List
.) - Parameters:
created
- 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:
#created(java.util.Collection
)
-
errors
BatchAssociateAnalyticsDataSetResponse.Builder errors(Collection<ErrorResult> errors)
A list of errors for datasets that aren't successfully associated with the target account.
- Parameters:
errors
- A list of errors for datasets that aren't successfully associated with the target account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchAssociateAnalyticsDataSetResponse.Builder errors(ErrorResult... errors)
A list of errors for datasets that aren't successfully associated with the target account.
- Parameters:
errors
- A list of errors for datasets that aren't successfully associated with the target account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchAssociateAnalyticsDataSetResponse.Builder errors(Consumer<ErrorResult.Builder>... errors)
A list of errors for datasets that aren't successfully associated with the target account.
This is a convenience method that creates an instance of theErrorResult.Builder
avoiding the need to create one manually viaErrorResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#errors(List
.) - Parameters:
errors
- a consumer that will call methods onErrorResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection
)
-
-