Interface CreateCloudWatchAlarmTemplateRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCloudWatchAlarmTemplateRequest.Builder,CreateCloudWatchAlarmTemplateRequest>,MediaLiveRequest.Builder,SdkBuilder<CreateCloudWatchAlarmTemplateRequest.Builder,CreateCloudWatchAlarmTemplateRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCloudWatchAlarmTemplateRequest
public static interface CreateCloudWatchAlarmTemplateRequest.Builder extends MediaLiveRequest.Builder, SdkPojo, CopyableBuilder<CreateCloudWatchAlarmTemplateRequest.Builder,CreateCloudWatchAlarmTemplateRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateCloudWatchAlarmTemplateRequest.BuildercomparisonOperator(String comparisonOperator)Sets the value of the ComparisonOperator property for this object.CreateCloudWatchAlarmTemplateRequest.BuildercomparisonOperator(CloudWatchAlarmTemplateComparisonOperator comparisonOperator)Sets the value of the ComparisonOperator property for this object.CreateCloudWatchAlarmTemplateRequest.BuilderdatapointsToAlarm(Integer datapointsToAlarm)The number of datapoints within the evaluation period that must be breaching to trigger the alarm.CreateCloudWatchAlarmTemplateRequest.Builderdescription(String description)A resource's optional description.CreateCloudWatchAlarmTemplateRequest.BuilderevaluationPeriods(Integer evaluationPeriods)The number of periods over which data is compared to the specified threshold.CreateCloudWatchAlarmTemplateRequest.BuildergroupIdentifier(String groupIdentifier)A cloudwatch alarm template group's identifier.CreateCloudWatchAlarmTemplateRequest.BuildermetricName(String metricName)The name of the metric associated with the alarm.CreateCloudWatchAlarmTemplateRequest.Buildername(String name)A resource's name.CreateCloudWatchAlarmTemplateRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCloudWatchAlarmTemplateRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateCloudWatchAlarmTemplateRequest.Builderperiod(Integer period)The period, in seconds, over which the specified statistic is applied.CreateCloudWatchAlarmTemplateRequest.Builderstatistic(String statistic)Sets the value of the Statistic property for this object.CreateCloudWatchAlarmTemplateRequest.Builderstatistic(CloudWatchAlarmTemplateStatistic statistic)Sets the value of the Statistic property for this object.CreateCloudWatchAlarmTemplateRequest.Buildertags(Map<String,String> tags)Sets the value of the Tags property for this object.CreateCloudWatchAlarmTemplateRequest.BuildertargetResourceType(String targetResourceType)Sets the value of the TargetResourceType property for this object.CreateCloudWatchAlarmTemplateRequest.BuildertargetResourceType(CloudWatchAlarmTemplateTargetResourceType targetResourceType)Sets the value of the TargetResourceType property for this object.CreateCloudWatchAlarmTemplateRequest.Builderthreshold(Double threshold)The threshold value to compare with the specified statistic.CreateCloudWatchAlarmTemplateRequest.BuildertreatMissingData(String treatMissingData)Sets the value of the TreatMissingData property for this object.CreateCloudWatchAlarmTemplateRequest.BuildertreatMissingData(CloudWatchAlarmTemplateTreatMissingData treatMissingData)Sets the value of the TreatMissingData property for this object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
comparisonOperator
CreateCloudWatchAlarmTemplateRequest.Builder comparisonOperator(String comparisonOperator)
Sets the value of the ComparisonOperator property for this object.- Parameters:
comparisonOperator- The new value for the ComparisonOperator property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CloudWatchAlarmTemplateComparisonOperator,CloudWatchAlarmTemplateComparisonOperator
-
comparisonOperator
CreateCloudWatchAlarmTemplateRequest.Builder comparisonOperator(CloudWatchAlarmTemplateComparisonOperator comparisonOperator)
Sets the value of the ComparisonOperator property for this object.- Parameters:
comparisonOperator- The new value for the ComparisonOperator property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CloudWatchAlarmTemplateComparisonOperator,CloudWatchAlarmTemplateComparisonOperator
-
datapointsToAlarm
CreateCloudWatchAlarmTemplateRequest.Builder datapointsToAlarm(Integer datapointsToAlarm)
The number of datapoints within the evaluation period that must be breaching to trigger the alarm.- Parameters:
datapointsToAlarm- The number of datapoints within the evaluation period that must be breaching to trigger the alarm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateCloudWatchAlarmTemplateRequest.Builder description(String description)
A resource's optional description.- Parameters:
description- A resource's optional description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationPeriods
CreateCloudWatchAlarmTemplateRequest.Builder evaluationPeriods(Integer evaluationPeriods)
The number of periods over which data is compared to the specified threshold.- Parameters:
evaluationPeriods- The number of periods over which data is compared to the specified threshold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupIdentifier
CreateCloudWatchAlarmTemplateRequest.Builder groupIdentifier(String groupIdentifier)
A cloudwatch alarm template group's identifier. Can be either be its id or current name.- Parameters:
groupIdentifier- A cloudwatch alarm template group's identifier. Can be either be its id or current name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricName
CreateCloudWatchAlarmTemplateRequest.Builder metricName(String metricName)
The name of the metric associated with the alarm. Must be compatible with targetResourceType.- Parameters:
metricName- The name of the metric associated with the alarm. Must be compatible with targetResourceType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateCloudWatchAlarmTemplateRequest.Builder name(String name)
A resource's name. Names must be unique within the scope of a resource type in a specific region.- Parameters:
name- A resource's name. Names must be unique within the scope of a resource type in a specific region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
period
CreateCloudWatchAlarmTemplateRequest.Builder period(Integer period)
The period, in seconds, over which the specified statistic is applied.- Parameters:
period- The period, in seconds, over which the specified statistic is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistic
CreateCloudWatchAlarmTemplateRequest.Builder statistic(String statistic)
Sets the value of the Statistic property for this object.- Parameters:
statistic- The new value for the Statistic property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CloudWatchAlarmTemplateStatistic,CloudWatchAlarmTemplateStatistic
-
statistic
CreateCloudWatchAlarmTemplateRequest.Builder statistic(CloudWatchAlarmTemplateStatistic statistic)
Sets the value of the Statistic property for this object.- Parameters:
statistic- The new value for the Statistic property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CloudWatchAlarmTemplateStatistic,CloudWatchAlarmTemplateStatistic
-
tags
CreateCloudWatchAlarmTemplateRequest.Builder tags(Map<String,String> tags)
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetResourceType
CreateCloudWatchAlarmTemplateRequest.Builder targetResourceType(String targetResourceType)
Sets the value of the TargetResourceType property for this object.- Parameters:
targetResourceType- The new value for the TargetResourceType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CloudWatchAlarmTemplateTargetResourceType,CloudWatchAlarmTemplateTargetResourceType
-
targetResourceType
CreateCloudWatchAlarmTemplateRequest.Builder targetResourceType(CloudWatchAlarmTemplateTargetResourceType targetResourceType)
Sets the value of the TargetResourceType property for this object.- Parameters:
targetResourceType- The new value for the TargetResourceType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CloudWatchAlarmTemplateTargetResourceType,CloudWatchAlarmTemplateTargetResourceType
-
threshold
CreateCloudWatchAlarmTemplateRequest.Builder threshold(Double threshold)
The threshold value to compare with the specified statistic.- Parameters:
threshold- The threshold value to compare with the specified statistic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
treatMissingData
CreateCloudWatchAlarmTemplateRequest.Builder treatMissingData(String treatMissingData)
Sets the value of the TreatMissingData property for this object.- Parameters:
treatMissingData- The new value for the TreatMissingData property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CloudWatchAlarmTemplateTreatMissingData,CloudWatchAlarmTemplateTreatMissingData
-
treatMissingData
CreateCloudWatchAlarmTemplateRequest.Builder treatMissingData(CloudWatchAlarmTemplateTreatMissingData treatMissingData)
Sets the value of the TreatMissingData property for this object.- Parameters:
treatMissingData- The new value for the TreatMissingData property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CloudWatchAlarmTemplateTreatMissingData,CloudWatchAlarmTemplateTreatMissingData
-
overrideConfiguration
CreateCloudWatchAlarmTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCloudWatchAlarmTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-