public static interface CreateNotificationRuleRequest.Builder extends CodestarNotificationsRequest.Builder, SdkPojo, CopyableBuilder<CreateNotificationRuleRequest.Builder,CreateNotificationRuleRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateNotificationRuleRequest.Builder |
clientRequestToken(String clientRequestToken)
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be
repeated with a changed parameter.
|
CreateNotificationRuleRequest.Builder |
detailType(DetailType detailType)
The level of detail to include in the notifications for this resource.
|
CreateNotificationRuleRequest.Builder |
detailType(String detailType)
The level of detail to include in the notifications for this resource.
|
CreateNotificationRuleRequest.Builder |
eventTypeIds(Collection<String> eventTypeIds)
A list of event types associated with this notification rule.
|
CreateNotificationRuleRequest.Builder |
eventTypeIds(String... eventTypeIds)
A list of event types associated with this notification rule.
|
CreateNotificationRuleRequest.Builder |
name(String name)
The name for the notification rule.
|
CreateNotificationRuleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateNotificationRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateNotificationRuleRequest.Builder |
resource(String resource)
The Amazon Resource Name (ARN) of the resource to associate with the notification rule.
|
CreateNotificationRuleRequest.Builder |
status(NotificationRuleStatus status)
The status of the notification rule.
|
CreateNotificationRuleRequest.Builder |
status(String status)
The status of the notification rule.
|
CreateNotificationRuleRequest.Builder |
tags(Map<String,String> tags)
A list of tags to apply to this notification rule.
|
CreateNotificationRuleRequest.Builder |
targets(Collection<Target> targets)
A list of Amazon Resource Names (ARNs) of SNS topics to associate with the notification rule.
|
CreateNotificationRuleRequest.Builder |
targets(Consumer<Target.Builder>... targets)
A list of Amazon Resource Names (ARNs) of SNS topics to associate with the notification rule.
|
CreateNotificationRuleRequest.Builder |
targets(Target... targets)
A list of Amazon Resource Names (ARNs) of SNS topics to associate with the notification rule.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateNotificationRuleRequest.Builder name(String name)
The name for the notification rule. Notifictaion rule names must be unique in your AWS account.
name - The name for the notification rule. Notifictaion rule names must be unique in your AWS account.CreateNotificationRuleRequest.Builder eventTypeIds(Collection<String> eventTypeIds)
A list of event types associated with this notification rule. For a list of allowed events, see EventTypeSummary.
eventTypeIds - A list of event types associated with this notification rule. For a list of allowed events, see
EventTypeSummary.CreateNotificationRuleRequest.Builder eventTypeIds(String... eventTypeIds)
A list of event types associated with this notification rule. For a list of allowed events, see EventTypeSummary.
eventTypeIds - A list of event types associated with this notification rule. For a list of allowed events, see
EventTypeSummary.CreateNotificationRuleRequest.Builder resource(String resource)
The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported resources include pipelines in AWS CodePipeline, repositories in AWS CodeCommit, and build projects in AWS CodeBuild.
resource - The Amazon Resource Name (ARN) of the resource to associate with the notification rule. Supported
resources include pipelines in AWS CodePipeline, repositories in AWS CodeCommit, and build projects in
AWS CodeBuild.CreateNotificationRuleRequest.Builder targets(Collection<Target> targets)
A list of Amazon Resource Names (ARNs) of SNS topics to associate with the notification rule.
targets - A list of Amazon Resource Names (ARNs) of SNS topics to associate with the notification rule.CreateNotificationRuleRequest.Builder targets(Target... targets)
A list of Amazon Resource Names (ARNs) of SNS topics to associate with the notification rule.
targets - A list of Amazon Resource Names (ARNs) of SNS topics to associate with the notification rule.CreateNotificationRuleRequest.Builder targets(Consumer<Target.Builder>... targets)
A list of Amazon Resource Names (ARNs) of SNS topics to associate with the notification rule.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #targets(List) .targets - a consumer that will call methods on List.Builder #targets(List) CreateNotificationRuleRequest.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 AWS 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.
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 AWS 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.DetailType,
DetailTypeCreateNotificationRuleRequest.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 AWS 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.
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 AWS 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.DetailType,
DetailTypeCreateNotificationRuleRequest.Builder clientRequestToken(String clientRequestToken)
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request with the same parameters is received and a token is included, the request returns information about the initial request that used that token.
The AWS SDKs prepopulate client request tokens. If you are using an AWS SDK, an idempotency token is created for you.
clientRequestToken - A unique, client-generated idempotency token that, when provided in a request, ensures the request
cannot be repeated with a changed parameter. If a request with the same parameters is received and a
token is included, the request returns information about the initial request that used that token.
The AWS SDKs prepopulate client request tokens. If you are using an AWS SDK, an idempotency token is created for you.
CreateNotificationRuleRequest.Builder tags(Map<String,String> tags)
A list of tags to apply to this notification rule. Key names cannot start with "aws".
tags - A list of tags to apply to this notification rule. Key names cannot start with "aws".CreateNotificationRuleRequest.Builder status(String status)
The status of the notification rule. The default value is ENABLED. If the status is set to DISABLED, notifications aren't sent for the notification rule.
status - The status of the notification rule. The default value is ENABLED. If the status is set to DISABLED,
notifications aren't sent for the notification rule.NotificationRuleStatus,
NotificationRuleStatusCreateNotificationRuleRequest.Builder status(NotificationRuleStatus status)
The status of the notification rule. The default value is ENABLED. If the status is set to DISABLED, notifications aren't sent for the notification rule.
status - The status of the notification rule. The default value is ENABLED. If the status is set to DISABLED,
notifications aren't sent for the notification rule.NotificationRuleStatus,
NotificationRuleStatusCreateNotificationRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateNotificationRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.