com.pulumi.aws.ssmincidents.outputs.ResponsePlanIncidentTemplateNotificationTarget Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.ssmincidents.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ResponsePlanIncidentTemplateNotificationTarget {
/**
* @return The ARN of the Amazon SNS topic.
*
* The following arguments are optional:
*
*/
private String snsTopicArn;
private ResponsePlanIncidentTemplateNotificationTarget() {}
/**
* @return The ARN of the Amazon SNS topic.
*
* The following arguments are optional:
*
*/
public String snsTopicArn() {
return this.snsTopicArn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ResponsePlanIncidentTemplateNotificationTarget defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String snsTopicArn;
public Builder() {}
public Builder(ResponsePlanIncidentTemplateNotificationTarget defaults) {
Objects.requireNonNull(defaults);
this.snsTopicArn = defaults.snsTopicArn;
}
@CustomType.Setter
public Builder snsTopicArn(String snsTopicArn) {
if (snsTopicArn == null) {
throw new MissingRequiredPropertyException("ResponsePlanIncidentTemplateNotificationTarget", "snsTopicArn");
}
this.snsTopicArn = snsTopicArn;
return this;
}
public ResponsePlanIncidentTemplateNotificationTarget build() {
final var _resultValue = new ResponsePlanIncidentTemplateNotificationTarget();
_resultValue.snsTopicArn = snsTopicArn;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy