
com.pulumi.aws.ssmincidents.outputs.GetResponsePlanResult 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.aws.ssmincidents.outputs.GetResponsePlanAction;
import com.pulumi.aws.ssmincidents.outputs.GetResponsePlanIncidentTemplate;
import com.pulumi.aws.ssmincidents.outputs.GetResponsePlanIntegration;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetResponsePlanResult {
/**
* @return (Optional) The actions that the response plan starts at the beginning of an incident.
*
*/
private List actions;
private String arn;
/**
* @return The Chatbot chat channel used for collaboration during an incident.
*
*/
private List chatChannels;
/**
* @return The long format of the response plan name. This field can contain spaces.
*
*/
private String displayName;
/**
* @return The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
*
*/
private List engagements;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private List incidentTemplates;
/**
* @return Information about third-party services integrated into the response plan. The following values are supported:
*
*/
private List integrations;
/**
* @return The name of the PagerDuty configuration.
*
*/
private String name;
/**
* @return The tags applied to the response plan.
*
*/
private Map tags;
private GetResponsePlanResult() {}
/**
* @return (Optional) The actions that the response plan starts at the beginning of an incident.
*
*/
public List actions() {
return this.actions;
}
public String arn() {
return this.arn;
}
/**
* @return The Chatbot chat channel used for collaboration during an incident.
*
*/
public List chatChannels() {
return this.chatChannels;
}
/**
* @return The long format of the response plan name. This field can contain spaces.
*
*/
public String displayName() {
return this.displayName;
}
/**
* @return The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
*
*/
public List engagements() {
return this.engagements;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public List incidentTemplates() {
return this.incidentTemplates;
}
/**
* @return Information about third-party services integrated into the response plan. The following values are supported:
*
*/
public List integrations() {
return this.integrations;
}
/**
* @return The name of the PagerDuty configuration.
*
*/
public String name() {
return this.name;
}
/**
* @return The tags applied to the response plan.
*
*/
public Map tags() {
return this.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetResponsePlanResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List actions;
private String arn;
private List chatChannels;
private String displayName;
private List engagements;
private String id;
private List incidentTemplates;
private List integrations;
private String name;
private Map tags;
public Builder() {}
public Builder(GetResponsePlanResult defaults) {
Objects.requireNonNull(defaults);
this.actions = defaults.actions;
this.arn = defaults.arn;
this.chatChannels = defaults.chatChannels;
this.displayName = defaults.displayName;
this.engagements = defaults.engagements;
this.id = defaults.id;
this.incidentTemplates = defaults.incidentTemplates;
this.integrations = defaults.integrations;
this.name = defaults.name;
this.tags = defaults.tags;
}
@CustomType.Setter
public Builder actions(List actions) {
if (actions == null) {
throw new MissingRequiredPropertyException("GetResponsePlanResult", "actions");
}
this.actions = actions;
return this;
}
public Builder actions(GetResponsePlanAction... actions) {
return actions(List.of(actions));
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("GetResponsePlanResult", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder chatChannels(List chatChannels) {
if (chatChannels == null) {
throw new MissingRequiredPropertyException("GetResponsePlanResult", "chatChannels");
}
this.chatChannels = chatChannels;
return this;
}
public Builder chatChannels(String... chatChannels) {
return chatChannels(List.of(chatChannels));
}
@CustomType.Setter
public Builder displayName(String displayName) {
if (displayName == null) {
throw new MissingRequiredPropertyException("GetResponsePlanResult", "displayName");
}
this.displayName = displayName;
return this;
}
@CustomType.Setter
public Builder engagements(List engagements) {
if (engagements == null) {
throw new MissingRequiredPropertyException("GetResponsePlanResult", "engagements");
}
this.engagements = engagements;
return this;
}
public Builder engagements(String... engagements) {
return engagements(List.of(engagements));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetResponsePlanResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder incidentTemplates(List incidentTemplates) {
if (incidentTemplates == null) {
throw new MissingRequiredPropertyException("GetResponsePlanResult", "incidentTemplates");
}
this.incidentTemplates = incidentTemplates;
return this;
}
public Builder incidentTemplates(GetResponsePlanIncidentTemplate... incidentTemplates) {
return incidentTemplates(List.of(incidentTemplates));
}
@CustomType.Setter
public Builder integrations(List integrations) {
if (integrations == null) {
throw new MissingRequiredPropertyException("GetResponsePlanResult", "integrations");
}
this.integrations = integrations;
return this;
}
public Builder integrations(GetResponsePlanIntegration... integrations) {
return integrations(List.of(integrations));
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetResponsePlanResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetResponsePlanResult", "tags");
}
this.tags = tags;
return this;
}
public GetResponsePlanResult build() {
final var _resultValue = new GetResponsePlanResult();
_resultValue.actions = actions;
_resultValue.arn = arn;
_resultValue.chatChannels = chatChannels;
_resultValue.displayName = displayName;
_resultValue.engagements = engagements;
_resultValue.id = id;
_resultValue.incidentTemplates = incidentTemplates;
_resultValue.integrations = integrations;
_resultValue.name = name;
_resultValue.tags = tags;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy