@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PagerDutyConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Details about the PagerDuty configuration for a response plan.
Constructor and Description |
---|
PagerDutyConfiguration() |
Modifier and Type | Method and Description |
---|---|
PagerDutyConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the PagerDuty configuration.
|
PagerDutyIncidentConfiguration |
getPagerDutyIncidentConfiguration()
Details about the PagerDuty service associated with the configuration.
|
String |
getSecretId()
The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access
REST API Key or User Token REST API Key, and other user credentials.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the PagerDuty configuration.
|
void |
setPagerDutyIncidentConfiguration(PagerDutyIncidentConfiguration pagerDutyIncidentConfiguration)
Details about the PagerDuty service associated with the configuration.
|
void |
setSecretId(String secretId)
The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access
REST API Key or User Token REST API Key, and other user credentials.
|
String |
toString()
Returns a string representation of this object.
|
PagerDutyConfiguration |
withName(String name)
The name of the PagerDuty configuration.
|
PagerDutyConfiguration |
withPagerDutyIncidentConfiguration(PagerDutyIncidentConfiguration pagerDutyIncidentConfiguration)
Details about the PagerDuty service associated with the configuration.
|
PagerDutyConfiguration |
withSecretId(String secretId)
The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access
REST API Key or User Token REST API Key, and other user credentials.
|
public void setName(String name)
The name of the PagerDuty configuration.
name
- The name of the PagerDuty configuration.public String getName()
The name of the PagerDuty configuration.
public PagerDutyConfiguration withName(String name)
The name of the PagerDuty configuration.
name
- The name of the PagerDuty configuration.public void setPagerDutyIncidentConfiguration(PagerDutyIncidentConfiguration pagerDutyIncidentConfiguration)
Details about the PagerDuty service associated with the configuration.
pagerDutyIncidentConfiguration
- Details about the PagerDuty service associated with the configuration.public PagerDutyIncidentConfiguration getPagerDutyIncidentConfiguration()
Details about the PagerDuty service associated with the configuration.
public PagerDutyConfiguration withPagerDutyIncidentConfiguration(PagerDutyIncidentConfiguration pagerDutyIncidentConfiguration)
Details about the PagerDuty service associated with the configuration.
pagerDutyIncidentConfiguration
- Details about the PagerDuty service associated with the configuration.public void setSecretId(String secretId)
The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access REST API Key or User Token REST API Key, and other user credentials.
secretId
- The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General
Access REST API Key or User Token REST API Key, and other user credentials.public String getSecretId()
The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access REST API Key or User Token REST API Key, and other user credentials.
public PagerDutyConfiguration withSecretId(String secretId)
The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General Access REST API Key or User Token REST API Key, and other user credentials.
secretId
- The ID of the Amazon Web Services Secrets Manager secret that stores your PagerDuty key, either a General
Access REST API Key or User Token REST API Key, and other user credentials.public String toString()
toString
in class Object
Object.toString()
public PagerDutyConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.