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
Modifier and TypeMethodDescriptionThe name of the scheduled query.Sets the value of the NextToken property for this object.scheduledQueryArn(String scheduledQueryArn) The ARN of the scheduled query.triggerHistory(Collection<TriggerHistoryRecord> triggerHistory) The list of execution history records for the scheduled query.triggerHistory(Consumer<TriggerHistoryRecord.Builder>... triggerHistory) The list of execution history records for the scheduled query.triggerHistory(TriggerHistoryRecord... triggerHistory) The list of execution history records for the scheduled query.Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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) The list of execution history records for the scheduled query.
- Parameters:
triggerHistory- The list of execution history records for the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerHistory
The list of execution history records for the scheduled query.
- Parameters:
triggerHistory- The list 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) The list 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 totriggerHistory(List<TriggerHistoryRecord>).- 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:
-
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.
-