Interface UpdateNotificationRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodestarNotificationsRequest.Builder,CopyableBuilder<UpdateNotificationRuleRequest.Builder,UpdateNotificationRuleRequest>,SdkBuilder<UpdateNotificationRuleRequest.Builder,UpdateNotificationRuleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateNotificationRuleRequest
public static interface UpdateNotificationRuleRequest.Builder extends CodestarNotificationsRequest.Builder, SdkPojo, CopyableBuilder<UpdateNotificationRuleRequest.Builder,UpdateNotificationRuleRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateNotificationRuleRequest.Builderarn(String arn)The Amazon Resource Name (ARN) of the notification rule.UpdateNotificationRuleRequest.BuilderdetailType(String detailType)The level of detail to include in the notifications for this resource.UpdateNotificationRuleRequest.BuilderdetailType(DetailType detailType)The level of detail to include in the notifications for this resource.UpdateNotificationRuleRequest.BuildereventTypeIds(String... eventTypeIds)A list of event types associated with this notification rule.UpdateNotificationRuleRequest.BuildereventTypeIds(Collection<String> eventTypeIds)A list of event types associated with this notification rule.UpdateNotificationRuleRequest.Buildername(String name)The name of the notification rule.UpdateNotificationRuleRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateNotificationRuleRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateNotificationRuleRequest.Builderstatus(String status)The status of the notification rule.UpdateNotificationRuleRequest.Builderstatus(NotificationRuleStatus status)The status of the notification rule.UpdateNotificationRuleRequest.Buildertargets(Collection<Target> targets)The address and type of the targets to receive notifications from this notification rule.UpdateNotificationRuleRequest.Buildertargets(Consumer<Target.Builder>... targets)The address and type of the targets to receive notifications from this notification rule.UpdateNotificationRuleRequest.Buildertargets(Target... targets)The address and type of the targets to receive notifications from this notification rule.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codestarnotifications.model.CodestarNotificationsRequest.Builder
build
-
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
-
arn
UpdateNotificationRuleRequest.Builder arn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
- Parameters:
arn- The Amazon Resource Name (ARN) of the notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateNotificationRuleRequest.Builder name(String name)
The name of the notification rule.
- Parameters:
name- The name of the notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
UpdateNotificationRuleRequest.Builder status(String status)
The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).
- Parameters:
status- The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationRuleStatus,NotificationRuleStatus
-
status
UpdateNotificationRuleRequest.Builder status(NotificationRuleStatus status)
The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).
- Parameters:
status- The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationRuleStatus,NotificationRuleStatus
-
eventTypeIds
UpdateNotificationRuleRequest.Builder eventTypeIds(Collection<String> eventTypeIds)
A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
- Parameters:
eventTypeIds- A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventTypeIds
UpdateNotificationRuleRequest.Builder eventTypeIds(String... eventTypeIds)
A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
- Parameters:
eventTypeIds- A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
UpdateNotificationRuleRequest.Builder targets(Collection<Target> targets)
The address and type of the targets to receive notifications from this notification rule.
- Parameters:
targets- The address and type of the targets to receive notifications from this notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
UpdateNotificationRuleRequest.Builder targets(Target... targets)
The address and type of the targets to receive notifications from this notification rule.
- Parameters:
targets- The address and type of the targets to receive notifications from this notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
UpdateNotificationRuleRequest.Builder targets(Consumer<Target.Builder>... targets)
The address and type of the targets to receive notifications from this notification rule.
This is a convenience method that creates an instance of theTarget.Builderavoiding the need to create one manually viaTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targets(List.) - Parameters:
targets- a consumer that will call methods onTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#targets(java.util.Collection)
-
detailType
UpdateNotificationRuleRequest.Builder detailType(String detailType)
The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
- Parameters:
detailType- The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DetailType,DetailType
-
detailType
UpdateNotificationRuleRequest.Builder detailType(DetailType detailType)
The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
- Parameters:
detailType- The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DetailType,DetailType
-
overrideConfiguration
UpdateNotificationRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateNotificationRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-