Class CfnOpsItemProps.Builder
java.lang.Object
software.amazon.awscdk.services.ssm.CfnOpsItemProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOpsItemProps>
- Enclosing interface:
CfnOpsItemProps
@Stability(Stable)
public static final class CfnOpsItemProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOpsItemProps>
A builder for
CfnOpsItemProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnOpsItemProps.getCategory()description(String description) Sets the value ofCfnOpsItemProps.getDescription()Sets the value ofCfnOpsItemProps.getPriority()Sets the value ofCfnOpsItemProps.getSeverity()Sets the value ofCfnOpsItemProps.getSource()Sets the value ofCfnOpsItemProps.getTags()Sets the value ofCfnOpsItemProps.getTitle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnOpsItemProps.getDescription()- Parameters:
description- The description of the OpsItem. This parameter is required.- Returns:
this
-
source
Sets the value ofCfnOpsItemProps.getSource()- Parameters:
source- The origin of the OpsItem. This parameter is required.- Returns:
this
-
title
Sets the value ofCfnOpsItemProps.getTitle()- Parameters:
title- The title of the OpsItem. This parameter is required.- Returns:
this
-
category
Sets the value ofCfnOpsItemProps.getCategory()- Parameters:
category- The category of the OpsItem.- Returns:
this
-
priority
Sets the value ofCfnOpsItemProps.getPriority()- Parameters:
priority- The priority of the OpsItem.- Returns:
this
-
severity
Sets the value ofCfnOpsItemProps.getSeverity()- Parameters:
severity- The severity of the OpsItem.- Returns:
this
-
tags
Sets the value ofCfnOpsItemProps.getTags()- Parameters:
tags- Tags for the OpsItem.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOpsItemProps>- Returns:
- a new instance of
CfnOpsItemProps - Throws:
NullPointerException- if any required attribute was not provided
-