Class CfnRotationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssmcontacts.CfnRotationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRotationMixinProps>
- Enclosing interface:
CfnRotationMixinProps
@Stability(Stable)
public static final class CfnRotationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRotationMixinProps>
A builder for
CfnRotationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contactIds(List<String> contactIds) Sets the value ofCfnRotationMixinProps.getContactIds()Sets the value ofCfnRotationMixinProps.getName()Sets the value ofCfnRotationMixinProps.getRecurrence()recurrence(IResolvable recurrence) Sets the value ofCfnRotationMixinProps.getRecurrence()Sets the value ofCfnRotationMixinProps.getStartTime()Sets the value ofCfnRotationMixinProps.getTags()timeZoneId(String timeZoneId) Sets the value ofCfnRotationMixinProps.getTimeZoneId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contactIds
Sets the value ofCfnRotationMixinProps.getContactIds()- Parameters:
contactIds- The Amazon Resource Names (ARNs) of the contacts to add to the rotation.Only the
PERSONALcontact type is supported. The contact typesESCALATIONandONCALL_SCHEDULEare not supported for this operation.The order in which you list the contacts is their shift order in the rotation schedule.
- Returns:
this
-
name
Sets the value ofCfnRotationMixinProps.getName()- Parameters:
name- The name for the rotation.- Returns:
this
-
recurrence
Sets the value ofCfnRotationMixinProps.getRecurrence()- Parameters:
recurrence- Information about the rule that specifies when shift team members rotate.- Returns:
this
-
recurrence
@Stability(Stable) public CfnRotationMixinProps.Builder recurrence(CfnRotationPropsMixin.RecurrenceSettingsProperty recurrence) Sets the value ofCfnRotationMixinProps.getRecurrence()- Parameters:
recurrence- Information about the rule that specifies when shift team members rotate.- Returns:
this
-
startTime
Sets the value ofCfnRotationMixinProps.getStartTime()- Parameters:
startTime- The date and time the rotation goes into effect.- Returns:
this
-
tags
Sets the value ofCfnRotationMixinProps.getTags()- Parameters:
tags- Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide .- Returns:
this
-
timeZoneId
Sets the value ofCfnRotationMixinProps.getTimeZoneId()- Parameters:
timeZoneId- The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST), are not supported.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRotationMixinProps>- Returns:
- a new instance of
CfnRotationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-