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
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnRotation.Builder
.
-
contactIds
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.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
-
name
The name for the rotation.- Parameters:
name
- The name for the rotation. This parameter is required.- Returns:
this
-
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
-
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
-
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
-
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.
- 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
-
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
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRotation>
- Returns:
- a newly built instance of
CfnRotation
.
-