Interface Rotation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Rotation.Builder,Rotation>,SdkBuilder<Rotation.Builder,Rotation>,SdkPojo
- Enclosing class:
- Rotation
public static interface Rotation.Builder extends SdkPojo, CopyableBuilder<Rotation.Builder,Rotation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Rotation.BuildercontactIds(String... contactIds)The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.Rotation.BuildercontactIds(Collection<String> contactIds)The Amazon Resource Names (ARNs) of the contacts assigned to the rotation team.Rotation.Buildername(String name)The name of the rotation.default Rotation.Builderrecurrence(Consumer<RecurrenceSettings.Builder> recurrence)Information about when an on-call rotation is in effect and how long the rotation period lasts.Rotation.Builderrecurrence(RecurrenceSettings recurrence)Information about when an on-call rotation is in effect and how long the rotation period lasts.Rotation.BuilderrotationArn(String rotationArn)The Amazon Resource Name (ARN) of the rotation.Rotation.BuilderstartTime(Instant startTime)The date and time the rotation becomes active.Rotation.BuildertimeZoneId(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 Detail
-
rotationArn
Rotation.Builder rotationArn(String 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
Rotation.Builder name(String 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
Rotation.Builder contactIds(Collection<String> 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
Rotation.Builder contactIds(String... 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
Rotation.Builder startTime(Instant 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
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".
- 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
Rotation.Builder recurrence(RecurrenceSettings 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
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.Builderavoiding the need to create one manually viaRecurrenceSettings.builder().When the
Consumercompletes,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:
recurrence(RecurrenceSettings)
-
-