Interface UpdateCloudWatchAlarmTemplateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateCloudWatchAlarmTemplateResponse.Builder,UpdateCloudWatchAlarmTemplateResponse>,MediaLiveResponse.Builder,SdkBuilder<UpdateCloudWatchAlarmTemplateResponse.Builder,UpdateCloudWatchAlarmTemplateResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateCloudWatchAlarmTemplateResponse
public static interface UpdateCloudWatchAlarmTemplateResponse.Builder extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<UpdateCloudWatchAlarmTemplateResponse.Builder,UpdateCloudWatchAlarmTemplateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateCloudWatchAlarmTemplateResponse.Builderarn(String arn)A cloudwatch alarm template's ARN (Amazon Resource Name)UpdateCloudWatchAlarmTemplateResponse.BuildercomparisonOperator(String comparisonOperator)Sets the value of the ComparisonOperator property for this object.UpdateCloudWatchAlarmTemplateResponse.BuildercomparisonOperator(CloudWatchAlarmTemplateComparisonOperator comparisonOperator)Sets the value of the ComparisonOperator property for this object.UpdateCloudWatchAlarmTemplateResponse.BuildercreatedAt(Instant createdAt)Sets the value of the CreatedAt property for this object.UpdateCloudWatchAlarmTemplateResponse.BuilderdatapointsToAlarm(Integer datapointsToAlarm)The number of datapoints within the evaluation period that must be breaching to trigger the alarm.UpdateCloudWatchAlarmTemplateResponse.Builderdescription(String description)A resource's optional description.UpdateCloudWatchAlarmTemplateResponse.BuilderevaluationPeriods(Integer evaluationPeriods)The number of periods over which data is compared to the specified threshold.UpdateCloudWatchAlarmTemplateResponse.BuildergroupId(String groupId)A cloudwatch alarm template group's id.UpdateCloudWatchAlarmTemplateResponse.Builderid(String id)A cloudwatch alarm template's id.UpdateCloudWatchAlarmTemplateResponse.BuildermetricName(String metricName)The name of the metric associated with the alarm.UpdateCloudWatchAlarmTemplateResponse.BuildermodifiedAt(Instant modifiedAt)Sets the value of the ModifiedAt property for this object.UpdateCloudWatchAlarmTemplateResponse.Buildername(String name)A resource's name.UpdateCloudWatchAlarmTemplateResponse.Builderperiod(Integer period)The period, in seconds, over which the specified statistic is applied.UpdateCloudWatchAlarmTemplateResponse.Builderstatistic(String statistic)Sets the value of the Statistic property for this object.UpdateCloudWatchAlarmTemplateResponse.Builderstatistic(CloudWatchAlarmTemplateStatistic statistic)Sets the value of the Statistic property for this object.UpdateCloudWatchAlarmTemplateResponse.Buildertags(Map<String,String> tags)Sets the value of the Tags property for this object.UpdateCloudWatchAlarmTemplateResponse.BuildertargetResourceType(String targetResourceType)Sets the value of the TargetResourceType property for this object.UpdateCloudWatchAlarmTemplateResponse.BuildertargetResourceType(CloudWatchAlarmTemplateTargetResourceType targetResourceType)Sets the value of the TargetResourceType property for this object.UpdateCloudWatchAlarmTemplateResponse.Builderthreshold(Double threshold)The threshold value to compare with the specified statistic.UpdateCloudWatchAlarmTemplateResponse.BuildertreatMissingData(String treatMissingData)Sets the value of the TreatMissingData property for this object.UpdateCloudWatchAlarmTemplateResponse.BuildertreatMissingData(CloudWatchAlarmTemplateTreatMissingData treatMissingData)Sets the value of the TreatMissingData property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
arn
UpdateCloudWatchAlarmTemplateResponse.Builder arn(String arn)
A cloudwatch alarm template's ARN (Amazon Resource Name)- Parameters:
arn- A cloudwatch alarm template's ARN (Amazon Resource Name)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comparisonOperator
UpdateCloudWatchAlarmTemplateResponse.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
UpdateCloudWatchAlarmTemplateResponse.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
-
createdAt
UpdateCloudWatchAlarmTemplateResponse.Builder createdAt(Instant createdAt)
Sets the value of the CreatedAt property for this object.- Parameters:
createdAt- The new value for the CreatedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datapointsToAlarm
UpdateCloudWatchAlarmTemplateResponse.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
UpdateCloudWatchAlarmTemplateResponse.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
UpdateCloudWatchAlarmTemplateResponse.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.
-
groupId
UpdateCloudWatchAlarmTemplateResponse.Builder groupId(String groupId)
A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`- Parameters:
groupId- A cloudwatch alarm template group's id. AWS provided template groups have ids that start with `aws-`- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
UpdateCloudWatchAlarmTemplateResponse.Builder id(String id)
A cloudwatch alarm template's id. AWS provided templates have ids that start with `aws-`- Parameters:
id- A cloudwatch alarm template's id. AWS provided templates have ids that start with `aws-`- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricName
UpdateCloudWatchAlarmTemplateResponse.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.
-
modifiedAt
UpdateCloudWatchAlarmTemplateResponse.Builder modifiedAt(Instant modifiedAt)
Sets the value of the ModifiedAt property for this object.- Parameters:
modifiedAt- The new value for the ModifiedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateCloudWatchAlarmTemplateResponse.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
UpdateCloudWatchAlarmTemplateResponse.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
UpdateCloudWatchAlarmTemplateResponse.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
UpdateCloudWatchAlarmTemplateResponse.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
UpdateCloudWatchAlarmTemplateResponse.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
UpdateCloudWatchAlarmTemplateResponse.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
UpdateCloudWatchAlarmTemplateResponse.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
UpdateCloudWatchAlarmTemplateResponse.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
UpdateCloudWatchAlarmTemplateResponse.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
UpdateCloudWatchAlarmTemplateResponse.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
-
-