Interface ItemValue.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ItemValue.Builder,,ItemValue> SdkBuilder<ItemValue.Builder,,ItemValue> SdkPojo
- Enclosing class:
ItemValue
public static interface ItemValue.Builder
extends SdkPojo, CopyableBuilder<ItemValue.Builder,ItemValue>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.metricDefinition(String metricDefinition) The metric definition, if the related item is a metric in Amazon CloudWatch.default ItemValue.BuilderpagerDutyIncidentDetail(Consumer<PagerDutyIncidentDetail.Builder> pagerDutyIncidentDetail) Details about an incident that is associated with a PagerDuty incident.pagerDutyIncidentDetail(PagerDutyIncidentDetail pagerDutyIncidentDetail) Details about an incident that is associated with a PagerDuty incident.The URL, if the related item is a non-Amazon Web Services resource.Methods 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, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.
- Parameters:
arn- The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDefinition
The metric definition, if the related item is a metric in Amazon CloudWatch.
- Parameters:
metricDefinition- The metric definition, if the related item is a metric in Amazon CloudWatch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pagerDutyIncidentDetail
Details about an incident that is associated with a PagerDuty incident.
- Parameters:
pagerDutyIncidentDetail- Details about an incident that is associated with a PagerDuty incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pagerDutyIncidentDetail
default ItemValue.Builder pagerDutyIncidentDetail(Consumer<PagerDutyIncidentDetail.Builder> pagerDutyIncidentDetail) Details about an incident that is associated with a PagerDuty incident.
This is a convenience method that creates an instance of thePagerDutyIncidentDetail.Builderavoiding the need to create one manually viaPagerDutyIncidentDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topagerDutyIncidentDetail(PagerDutyIncidentDetail).- Parameters:
pagerDutyIncidentDetail- a consumer that will call methods onPagerDutyIncidentDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
url
The URL, if the related item is a non-Amazon Web Services resource.
- Parameters:
url- The URL, if the related item is a non-Amazon Web Services resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-