Interface CreateRotationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRotationRequest.Builder,CreateRotationRequest>,SdkBuilder<CreateRotationRequest.Builder,CreateRotationRequest>,SdkPojo,SdkRequest.Builder,SsmContactsRequest.Builder
- Enclosing class:
- CreateRotationRequest
public static interface CreateRotationRequest.Builder extends SsmContactsRequest.Builder, SdkPojo, CopyableBuilder<CreateRotationRequest.Builder,CreateRotationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateRotationRequest.BuildercontactIds(String... contactIds)The Amazon Resource Names (ARNs) of the contacts to add to the rotation.CreateRotationRequest.BuildercontactIds(Collection<String> contactIds)The Amazon Resource Names (ARNs) of the contacts to add to the rotation.CreateRotationRequest.BuilderidempotencyToken(String idempotencyToken)A token that ensures that the operation is called only once with the specified details.CreateRotationRequest.Buildername(String name)The name of the rotation.CreateRotationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRotationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateRotationRequest.Builderrecurrence(Consumer<RecurrenceSettings.Builder> recurrence)Information about the rule that specifies when a shift's team members rotate.CreateRotationRequest.Builderrecurrence(RecurrenceSettings recurrence)Information about the rule that specifies when a shift's team members rotate.CreateRotationRequest.BuilderstartTime(Instant startTime)The date and time that the rotation goes into effect.CreateRotationRequest.Buildertags(Collection<Tag> tags)Optional metadata to assign to the rotation.CreateRotationRequest.Buildertags(Consumer<Tag.Builder>... tags)Optional metadata to assign to the rotation.CreateRotationRequest.Buildertags(Tag... tags)Optional metadata to assign to the rotation.CreateRotationRequest.BuildertimeZoneId(String timeZoneId)The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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.services.ssmcontacts.model.SsmContactsRequest.Builder
build
-
-
-
-
Method Detail
-
name
CreateRotationRequest.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
CreateRotationRequest.Builder contactIds(Collection<String> contactIds)
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
- Parameters:
contactIds- The Amazon Resource Names (ARNs) of the contacts to add to the rotation.The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactIds
CreateRotationRequest.Builder contactIds(String... contactIds)
The Amazon Resource Names (ARNs) of the contacts to add to the rotation.
The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
- Parameters:
contactIds- The Amazon Resource Names (ARNs) of the contacts to add to the rotation.The order that you list the contacts in is their shift order in the rotation schedule. To change the order of the contact's shifts, use the UpdateRotation operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
CreateRotationRequest.Builder startTime(Instant startTime)
The date and time that the rotation goes into effect.
- Parameters:
startTime- The date and time that the rotation goes into effect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeZoneId
CreateRotationRequest.Builder timeZoneId(String timeZoneId)
The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.
Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), are not supported.
- Parameters:
timeZoneId- The time zone to base the rotation’s activity on in Internet Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.Designators for time zones that don’t support Daylight Savings Time rules, such as Pacific Standard Time (PST) and Pacific Daylight Time (PDT), are not supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrence
CreateRotationRequest.Builder recurrence(RecurrenceSettings recurrence)
Information about the rule that specifies when a shift's team members rotate.
- Parameters:
recurrence- Information about the rule that specifies when a shift's team members rotate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrence
default CreateRotationRequest.Builder recurrence(Consumer<RecurrenceSettings.Builder> recurrence)
Information about the rule that specifies when a shift's team members rotate.
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)
-
tags
CreateRotationRequest.Builder tags(Collection<Tag> tags)
Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide.
- Parameters:
tags- Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateRotationRequest.Builder tags(Tag... tags)
Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide.
- Parameters:
tags- Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateRotationRequest.Builder tags(Consumer<Tag.Builder>... tags)
Optional metadata to assign to the rotation. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
idempotencyToken
CreateRotationRequest.Builder idempotencyToken(String idempotencyToken)
A token that ensures that the operation is called only once with the specified details.
- Parameters:
idempotencyToken- A token that ensures that the operation is called only once with the specified details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRotationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRotationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-