Class CfnScheduledQueryMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.logs.CfnScheduledQueryMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledQueryMixinProps>
- Enclosing interface:
CfnScheduledQueryMixinProps
@Stability(Stable)
public static final class CfnScheduledQueryMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledQueryMixinProps>
A builder for
CfnScheduledQueryMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnScheduledQueryMixinProps.getDescription()destinationConfiguration(CfnScheduledQueryPropsMixin.DestinationConfigurationProperty destinationConfiguration) Sets the value ofCfnScheduledQueryMixinProps.getDestinationConfiguration()destinationConfiguration(IResolvable destinationConfiguration) Sets the value ofCfnScheduledQueryMixinProps.getDestinationConfiguration()executionRoleArn(String executionRoleArn) Sets the value ofCfnScheduledQueryMixinProps.getExecutionRoleArn()logGroupIdentifiers(List<String> logGroupIdentifiers) Sets the value ofCfnScheduledQueryMixinProps.getLogGroupIdentifiers()Sets the value ofCfnScheduledQueryMixinProps.getName()queryLanguage(String queryLanguage) Sets the value ofCfnScheduledQueryMixinProps.getQueryLanguage()queryString(String queryString) Sets the value ofCfnScheduledQueryMixinProps.getQueryString()scheduleEndTime(Number scheduleEndTime) Sets the value ofCfnScheduledQueryMixinProps.getScheduleEndTime()scheduleExpression(String scheduleExpression) Sets the value ofCfnScheduledQueryMixinProps.getScheduleExpression()scheduleStartTime(Number scheduleStartTime) Sets the value ofCfnScheduledQueryMixinProps.getScheduleStartTime()startTimeOffset(Number startTimeOffset) Sets the value ofCfnScheduledQueryMixinProps.getStartTimeOffset()Sets the value ofCfnScheduledQueryMixinProps.getState()tags(List<? extends CfnScheduledQueryPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnScheduledQueryMixinProps.getTags()Sets the value ofCfnScheduledQueryMixinProps.getTimezone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnScheduledQueryMixinProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
destinationConfiguration
@Stability(Stable) public CfnScheduledQueryMixinProps.Builder destinationConfiguration(IResolvable destinationConfiguration) Sets the value ofCfnScheduledQueryMixinProps.getDestinationConfiguration()- Parameters:
destinationConfiguration- the value to be set.- Returns:
this
-
destinationConfiguration
@Stability(Stable) public CfnScheduledQueryMixinProps.Builder destinationConfiguration(CfnScheduledQueryPropsMixin.DestinationConfigurationProperty destinationConfiguration) Sets the value ofCfnScheduledQueryMixinProps.getDestinationConfiguration()- Parameters:
destinationConfiguration- the value to be set.- Returns:
this
-
executionRoleArn
@Stability(Stable) public CfnScheduledQueryMixinProps.Builder executionRoleArn(String executionRoleArn) Sets the value ofCfnScheduledQueryMixinProps.getExecutionRoleArn()- Parameters:
executionRoleArn- the value to be set.- Returns:
this
-
logGroupIdentifiers
@Stability(Stable) public CfnScheduledQueryMixinProps.Builder logGroupIdentifiers(List<String> logGroupIdentifiers) Sets the value ofCfnScheduledQueryMixinProps.getLogGroupIdentifiers()- Parameters:
logGroupIdentifiers- the value to be set.- Returns:
this
-
name
Sets the value ofCfnScheduledQueryMixinProps.getName()- Parameters:
name- the value to be set.- Returns:
this
-
queryLanguage
Sets the value ofCfnScheduledQueryMixinProps.getQueryLanguage()- Parameters:
queryLanguage- the value to be set.- Returns:
this
-
queryString
Sets the value ofCfnScheduledQueryMixinProps.getQueryString()- Parameters:
queryString- the value to be set.- Returns:
this
-
scheduleEndTime
@Stability(Stable) public CfnScheduledQueryMixinProps.Builder scheduleEndTime(Number scheduleEndTime) Sets the value ofCfnScheduledQueryMixinProps.getScheduleEndTime()- Parameters:
scheduleEndTime- the value to be set.- Returns:
this
-
scheduleExpression
@Stability(Stable) public CfnScheduledQueryMixinProps.Builder scheduleExpression(String scheduleExpression) Sets the value ofCfnScheduledQueryMixinProps.getScheduleExpression()- Parameters:
scheduleExpression- the value to be set.- Returns:
this
-
scheduleStartTime
@Stability(Stable) public CfnScheduledQueryMixinProps.Builder scheduleStartTime(Number scheduleStartTime) Sets the value ofCfnScheduledQueryMixinProps.getScheduleStartTime()- Parameters:
scheduleStartTime- the value to be set.- Returns:
this
-
startTimeOffset
@Stability(Stable) public CfnScheduledQueryMixinProps.Builder startTimeOffset(Number startTimeOffset) Sets the value ofCfnScheduledQueryMixinProps.getStartTimeOffset()- Parameters:
startTimeOffset- the value to be set.- Returns:
this
-
state
Sets the value ofCfnScheduledQueryMixinProps.getState()- Parameters:
state- the value to be set.- Returns:
this
-
tags
@Stability(Stable) public CfnScheduledQueryMixinProps.Builder tags(List<? extends CfnScheduledQueryPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnScheduledQueryMixinProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
timezone
Sets the value ofCfnScheduledQueryMixinProps.getTimezone()- Parameters:
timezone- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScheduledQueryMixinProps>- Returns:
- a new instance of
CfnScheduledQueryMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-