Interface Rotation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Rotation.Builder,
,Rotation> SdkBuilder<Rotation.Builder,
,Rotation> SdkPojo
- Enclosing class:
Rotation
-
Method Summary
Modifier and TypeMethodDescriptioncontactIds
(String... contactIds) The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.contactIds
(Collection<String> contactIds) The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.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.recurrence
(RecurrenceSettings recurrence) Information about when an on-call rotation is in effect and how long the rotation period lasts.rotationArn
(String rotationArn) The Amazon Resource Name (ARN) of the rotation.The date and time the rotation becomes active.timeZoneId
(String timeZoneId) The time zone the rotation’s activity is based on, in Internet Assigned Numbers Authority (IANA) format.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
rotationArn
The Amazon Resource Name (ARN) of the rotation.
- Parameters:
rotationArn
- The Amazon Resource Name (ARN) of the rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the rotation.
- Parameters:
name
- The name of the rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactIds
The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.
- Parameters:
contactIds
- The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactIds
The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.
- Parameters:
contactIds
- The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The date and time the rotation becomes active.
- Parameters:
startTime
- The date and time the rotation becomes active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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".
- Parameters:
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".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrence
Information about when an on-call rotation is in effect and how long the rotation period lasts.
- Parameters:
recurrence
- Information about when an on-call rotation is in effect and how long the rotation period lasts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaRecurrenceSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecurrence(RecurrenceSettings)
.- Parameters:
recurrence
- a consumer that will call methods onRecurrenceSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-