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