Interface IntelligenceNotificationTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IntelligenceNotificationTarget.Builder,,IntelligenceNotificationTarget> SdkBuilder<IntelligenceNotificationTarget.Builder,,IntelligenceNotificationTarget> SdkPojo
- Enclosing class:
IntelligenceNotificationTarget
@Mutable
@NotThreadSafe
public static interface IntelligenceNotificationTarget.Builder
extends SdkPojo, CopyableBuilder<IntelligenceNotificationTarget.Builder,IntelligenceNotificationTarget>
-
Method Summary
Modifier and TypeMethodDescriptionFor slack and pagerduty, the ARN of the connected integration, as returned by ListIntegrations, in the account and Region of the configuration.Target-specific metadata.The kind of destination.The kind of destination.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The kind of destination.
- Parameters:
type- The kind of destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The kind of destination.
- Parameters:
type- The kind of destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
arn
For slack and pagerduty, the ARN of the connected integration, as returned by ListIntegrations, in the account and Region of the configuration. This is the integration ARN, not a channel or service ARN. For sns, the ARN of a standard SNS topic in the same partition and Region, in any account. At most 1011 characters, the AWS-wide ARN limit.
- Parameters:
arn- For slack and pagerduty, the ARN of the connected integration, as returned by ListIntegrations, in the account and Region of the configuration. This is the integration ARN, not a channel or service ARN. For sns, the ARN of a standard SNS topic in the same partition and Region, in any account. At most 1011 characters, the AWS-wide ARN limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Target-specific metadata. The accepted keys depend on type, and any other key is rejected with ValidationException.
- slack: channel (required), the Slack channel name, and channelId (optional), the Slack channel identifier. When a target is added, the service resolves the channel name to its identifier and stores it as channelId, and notifications are posted to that identifier, so renaming the channel does not break the target. A channel the integration's app cannot see is rejected. A channelId sent with a new target must identify the named channel. No other key is accepted.
- pagerduty: service_name (required), the exact, case-sensitive name of the PagerDuty service or event orchestration to page, and the optional keys serviceId (the PagerDuty service identifier), class, group, and component. No other key is accepted.
- sns: absent or empty. No key is accepted.
- Parameters:
metadata- Target-specific metadata. The accepted keys depend on type, and any other key is rejected with ValidationException.- slack: channel (required), the Slack channel name, and channelId (optional), the Slack channel identifier. When a target is added, the service resolves the channel name to its identifier and stores it as channelId, and notifications are posted to that identifier, so renaming the channel does not break the target. A channel the integration's app cannot see is rejected. A channelId sent with a new target must identify the named channel. No other key is accepted.
- pagerduty: service_name (required), the exact, case-sensitive name of the PagerDuty service or event orchestration to page, and the optional keys serviceId (the PagerDuty service identifier), class, group, and component. No other key is accepted.
- sns: absent or empty. No key is accepted.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-