public static interface Rotation.Builder extends SdkPojo, CopyableBuilder<Rotation.Builder,Rotation>
| Modifier and Type | Method and Description |
|---|---|
Rotation.Builder |
contactIds(Collection<String> contactIds)
The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.
|
Rotation.Builder |
contactIds(String... contactIds)
The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.
|
Rotation.Builder |
name(String name)
The name of the rotation.
|
default Rotation.Builder |
recurrence(Consumer<RecurrenceSettings.Builder> recurrence)
Information about when an on-call rotation is in effect and how long the rotation period lasts.
|
Rotation.Builder |
recurrence(RecurrenceSettings recurrence)
Information about when an on-call rotation is in effect and how long the rotation period lasts.
|
Rotation.Builder |
rotationArn(String rotationArn)
The Amazon Resource Name (ARN) of the rotation.
|
Rotation.Builder |
startTime(Instant startTime)
The date and time the rotation becomes active.
|
Rotation.Builder |
timeZoneId(String timeZoneId)
The time zone the rotation’s activity is based on, in Internet Assigned Numbers Authority (IANA) format.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRotation.Builder rotationArn(String rotationArn)
The Amazon Resource Name (ARN) of the rotation.
rotationArn - The Amazon Resource Name (ARN) of the rotation.Rotation.Builder name(String name)
The name of the rotation.
name - The name of the rotation.Rotation.Builder contactIds(Collection<String> contactIds)
The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.
contactIds - The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.Rotation.Builder contactIds(String... contactIds)
The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.
contactIds - The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.Rotation.Builder startTime(Instant startTime)
The date and time the rotation becomes active.
startTime - The date and time the rotation becomes active.Rotation.Builder timeZoneId(String timeZoneId)
The time zone the rotation’s activity is based on, in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul".
timeZoneId - The time zone the rotation’s activity is based on, in Internet Assigned Numbers Authority (IANA)
format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul".Rotation.Builder recurrence(RecurrenceSettings recurrence)
Information about when an on-call rotation is in effect and how long the rotation period lasts.
recurrence - Information about when an on-call rotation is in effect and how long the rotation period lasts.default Rotation.Builder recurrence(Consumer<RecurrenceSettings.Builder> recurrence)
Information about when an on-call rotation is in effect and how long the rotation period lasts.
This is a convenience method that creates an instance of theRecurrenceSettings.Builder avoiding the
need to create one manually via RecurrenceSettings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to recurrence(RecurrenceSettings).
recurrence - a consumer that will call methods on RecurrenceSettings.Builderrecurrence(RecurrenceSettings)Copyright © 2023. All rights reserved.