Interface GetRotationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetRotationResponse.Builder,
,GetRotationResponse> SdkBuilder<GetRotationResponse.Builder,
,GetRotationResponse> SdkPojo
,SdkResponse.Builder
,SsmContactsResponse.Builder
- Enclosing class:
GetRotationResponse
-
Method Summary
Modifier and TypeMethodDescriptioncontactIds
(String... contactIds) The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.contactIds
(Collection<String> contactIds) The Amazon Resource Names (ARNs) of the contacts assigned to the on-call rotation team.The name of the on-call rotation.default GetRotationResponse.Builder
recurrence
(Consumer<RecurrenceSettings.Builder> recurrence) Specifies how long a rotation lasts before restarting at the beginning of the shift order.recurrence
(RecurrenceSettings recurrence) Specifies how long a rotation lasts before restarting at the beginning of the shift order.rotationArn
(String rotationArn) The Amazon Resource Name (ARN) of the on-call rotation.The specified start time for the on-call rotation.timeZoneId
(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 Details
-
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
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
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
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
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
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
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
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.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:
-