Interface GetScheduledQueryHistoryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<GetScheduledQueryHistoryResponse.Builder,GetScheduledQueryHistoryResponse>,SdkBuilder<GetScheduledQueryHistoryResponse.Builder,GetScheduledQueryHistoryResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetScheduledQueryHistoryResponse
@Mutable @NotThreadSafe public static interface GetScheduledQueryHistoryResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<GetScheduledQueryHistoryResponse.Builder,GetScheduledQueryHistoryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetScheduledQueryHistoryResponse.Buildername(String name)The name of the scheduled query.GetScheduledQueryHistoryResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.GetScheduledQueryHistoryResponse.BuilderscheduledQueryArn(String scheduledQueryArn)The ARN of the scheduled query.GetScheduledQueryHistoryResponse.BuildertriggerHistory(Collection<TriggerHistoryRecord> triggerHistory)An array of execution history records for the scheduled query.GetScheduledQueryHistoryResponse.BuildertriggerHistory(Consumer<TriggerHistoryRecord.Builder>... triggerHistory)An array of execution history records for the scheduled query.GetScheduledQueryHistoryResponse.BuildertriggerHistory(TriggerHistoryRecord... triggerHistory)An array of execution history records for the scheduled query.-
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.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
-
name
GetScheduledQueryHistoryResponse.Builder name(String name)
The name of the scheduled query.
- Parameters:
name- The name of the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledQueryArn
GetScheduledQueryHistoryResponse.Builder scheduledQueryArn(String scheduledQueryArn)
The ARN of the scheduled query.
- Parameters:
scheduledQueryArn- The ARN of the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerHistory
GetScheduledQueryHistoryResponse.Builder triggerHistory(Collection<TriggerHistoryRecord> triggerHistory)
An array of execution history records for the scheduled query.
- Parameters:
triggerHistory- An array of execution history records for the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerHistory
GetScheduledQueryHistoryResponse.Builder triggerHistory(TriggerHistoryRecord... triggerHistory)
An array of execution history records for the scheduled query.
- Parameters:
triggerHistory- An array of execution history records for the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerHistory
GetScheduledQueryHistoryResponse.Builder triggerHistory(Consumer<TriggerHistoryRecord.Builder>... triggerHistory)
An array of execution history records for the scheduled query.
This is a convenience method that creates an instance of theTriggerHistoryRecord.Builderavoiding the need to create one manually viaTriggerHistoryRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#triggerHistory(List.) - Parameters:
triggerHistory- a consumer that will call methods onTriggerHistoryRecord.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#triggerHistory(java.util.Collection)
-
nextToken
GetScheduledQueryHistoryResponse.Builder nextToken(String nextToken)
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-