Class CfnRotation.Builder
java.lang.Object
software.amazon.awscdk.services.ssmcontacts.CfnRotation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRotation>
- Enclosing class:
CfnRotation
@Stability(Stable)
public static final class CfnRotation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRotation>
A fluent builder for
CfnRotation
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
contactIds
(List<String> contactIds) The Amazon Resource Names (ARNs) of the contacts to add to the rotation.static CfnRotation.Builder
The name for the rotation.recurrence
(IResolvable recurrence) Information about the rule that specifies when shift team members rotate.recurrence
(CfnRotation.RecurrenceSettingsProperty recurrence) Information about the rule that specifies when shift team members rotate.The date and time the rotation goes into effect.Optional metadata to assign to the rotation.timeZoneId
(String timeZoneId) The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format.
-
Method Details
-
create
@Stability(Stable) public static CfnRotation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnRotation.Builder
.
-
contactIds
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.Only the
PERSONAL
contact type is supported. The contact typesESCALATION
andONCALL_SCHEDULE
are not supported for this operation.The order in which you list the contacts is their shift order in the rotation schedule.
- Parameters:
contactIds
- The Amazon Resource Names (ARNs) of the contacts to add to the rotation. This parameter is required.- Returns:
this
- See Also:
-
name
The name for the rotation.- Parameters:
name
- The name for the rotation. This parameter is required.- Returns:
this
- See Also:
-
recurrence
Information about the rule that specifies when shift team members rotate.- Parameters:
recurrence
- Information about the rule that specifies when shift team members rotate. This parameter is required.- Returns:
this
- See Also:
-
recurrence
@Stability(Stable) public CfnRotation.Builder recurrence(CfnRotation.RecurrenceSettingsProperty recurrence) Information about the rule that specifies when shift team members rotate.- Parameters:
recurrence
- Information about the rule that specifies when shift team members rotate. This parameter is required.- Returns:
this
- See Also:
-
startTime
The date and time the rotation goes into effect.- Parameters:
startTime
- The date and time the rotation goes into effect. This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
timeZoneId
- The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. This parameter is required.- Returns:
this
- See Also:
-
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 .
- Parameters:
tags
- Optional metadata to assign to the rotation. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRotation>
- Returns:
- a newly built instance of
CfnRotation
.
-