Interface GetRotationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRotationResponse.Builder,GetRotationResponse>,SdkBuilder<GetRotationResponse.Builder,GetRotationResponse>,SdkPojo,SdkResponse.Builder,SsmContactsResponse.Builder
- Enclosing class:
- GetRotationResponse
public static interface GetRotationResponse.Builder extends SsmContactsResponse.Builder, SdkPojo, CopyableBuilder<GetRotationResponse.Builder,GetRotationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetRotationResponse.BuildercontactIds(String... contactIds)The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.GetRotationResponse.BuildercontactIds(Collection<String> contactIds)The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.GetRotationResponse.Buildername(String name)The name of the on-call rotation.default GetRotationResponse.Builderrecurrence(Consumer<RecurrenceSettings.Builder> recurrence)Specifies how long a rotation lasts before restarting at the beginning of the shift order.GetRotationResponse.Builderrecurrence(RecurrenceSettings recurrence)Specifies how long a rotation lasts before restarting at the beginning of the shift order.GetRotationResponse.BuilderrotationArn(String rotationArn)The Amazon Resource Name (ARN) of the on-call rotation.GetRotationResponse.BuilderstartTime(Instant startTime)The specified start time for the on-call rotation.GetRotationResponse.BuildertimeZoneId(String timeZoneId)The time zone that 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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.ssmcontacts.model.SsmContactsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
rotationArn
GetRotationResponse.Builder rotationArn(String rotationArn)
The Amazon Resource Name (ARN) of the on-call rotation.
- Parameters:
rotationArn- The Amazon Resource Name (ARN) of the on-call rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetRotationResponse.Builder name(String name)
The name of the on-call rotation.
- Parameters:
name- The name of the on-call rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactIds
GetRotationResponse.Builder contactIds(Collection<String> contactIds)
The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.
- Parameters:
contactIds- The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactIds
GetRotationResponse.Builder contactIds(String... contactIds)
The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.
- Parameters:
contactIds- The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
GetRotationResponse.Builder startTime(Instant startTime)
The specified start time for the on-call rotation.
- Parameters:
startTime- The specified start time for the on-call rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeZoneId
GetRotationResponse.Builder timeZoneId(String timeZoneId)
The time zone that the rotation’s activity is based on, in Internet Assigned Numbers Authority (IANA) format.
- Parameters:
timeZoneId- The time zone that the rotation’s activity is based on, in Internet Assigned Numbers Authority (IANA) format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrence
GetRotationResponse.Builder recurrence(RecurrenceSettings recurrence)
Specifies how long a rotation lasts before restarting at the beginning of the shift order.
- Parameters:
recurrence- Specifies how long a rotation lasts before restarting at the beginning of the shift order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrence
default GetRotationResponse.Builder recurrence(Consumer<RecurrenceSettings.Builder> recurrence)
Specifies how long a rotation lasts before restarting at the beginning of the shift order.
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)
-
-