Interface GetInsightSelectorsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudTrailResponse.Builder,CopyableBuilder<GetInsightSelectorsResponse.Builder,GetInsightSelectorsResponse>,SdkBuilder<GetInsightSelectorsResponse.Builder,GetInsightSelectorsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetInsightSelectorsResponse
public static interface GetInsightSelectorsResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<GetInsightSelectorsResponse.Builder,GetInsightSelectorsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetInsightSelectorsResponse.BuildereventDataStoreArn(String eventDataStoreArn)The ARN of the source event data store that enabled Insights events.GetInsightSelectorsResponse.BuilderinsightsDestination(String insightsDestination)The ARN of the destination event data store that logs Insights events.GetInsightSelectorsResponse.BuilderinsightSelectors(Collection<InsightSelector> insightSelectors)A JSON string that contains the Insight types you want to log on a trail or event data store.GetInsightSelectorsResponse.BuilderinsightSelectors(Consumer<InsightSelector.Builder>... insightSelectors)A JSON string that contains the Insight types you want to log on a trail or event data store.GetInsightSelectorsResponse.BuilderinsightSelectors(InsightSelector... insightSelectors)A JSON string that contains the Insight types you want to log on a trail or event data store.GetInsightSelectorsResponse.BuildertrailARN(String trailARN)The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.-
Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.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
-
trailARN
GetInsightSelectorsResponse.Builder trailARN(String trailARN)
The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.
- Parameters:
trailARN- The Amazon Resource Name (ARN) of a trail for which you want to get Insights selectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightSelectors
GetInsightSelectorsResponse.Builder insightSelectors(Collection<InsightSelector> insightSelectors)
A JSON string that contains the Insight types you want to log on a trail or event data store.
ApiErrorRateInsightandApiCallRateInsightare supported as Insights types.- Parameters:
insightSelectors- A JSON string that contains the Insight types you want to log on a trail or event data store.ApiErrorRateInsightandApiCallRateInsightare supported as Insights types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightSelectors
GetInsightSelectorsResponse.Builder insightSelectors(InsightSelector... insightSelectors)
A JSON string that contains the Insight types you want to log on a trail or event data store.
ApiErrorRateInsightandApiCallRateInsightare supported as Insights types.- Parameters:
insightSelectors- A JSON string that contains the Insight types you want to log on a trail or event data store.ApiErrorRateInsightandApiCallRateInsightare supported as Insights types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightSelectors
GetInsightSelectorsResponse.Builder insightSelectors(Consumer<InsightSelector.Builder>... insightSelectors)
A JSON string that contains the Insight types you want to log on a trail or event data store.
This is a convenience method that creates an instance of theApiErrorRateInsightandApiCallRateInsightare supported as Insights types.InsightSelector.Builderavoiding the need to create one manually viaInsightSelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#insightSelectors(List.) - Parameters:
insightSelectors- a consumer that will call methods onInsightSelector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#insightSelectors(java.util.Collection)
-
eventDataStoreArn
GetInsightSelectorsResponse.Builder eventDataStoreArn(String eventDataStoreArn)
The ARN of the source event data store that enabled Insights events.
- Parameters:
eventDataStoreArn- The ARN of the source event data store that enabled Insights events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightsDestination
GetInsightSelectorsResponse.Builder insightsDestination(String insightsDestination)
The ARN of the destination event data store that logs Insights events.
- Parameters:
insightsDestination- The ARN of the destination event data store that logs Insights events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-