@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PagerDutyIncidentDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details about the PagerDuty incident associated with an incident created by an Incident Manager response plan.
Constructor and Description |
---|
PagerDutyIncidentDetail() |
Modifier and Type | Method and Description |
---|---|
PagerDutyIncidentDetail |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAutoResolve()
Indicates whether to resolve the PagerDuty incident when you resolve the associated Incident Manager incident.
|
String |
getId()
The ID of the incident associated with the PagerDuty service for the response plan.
|
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() |
Boolean |
isAutoResolve()
Indicates whether to resolve the PagerDuty incident when you resolve the associated Incident Manager incident.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoResolve(Boolean autoResolve)
Indicates whether to resolve the PagerDuty incident when you resolve the associated Incident Manager incident.
|
void |
setId(String id)
The ID of the incident associated with the PagerDuty service for the response plan.
|
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.
|
PagerDutyIncidentDetail |
withAutoResolve(Boolean autoResolve)
Indicates whether to resolve the PagerDuty incident when you resolve the associated Incident Manager incident.
|
PagerDutyIncidentDetail |
withId(String id)
The ID of the incident associated with the PagerDuty service for the response plan.
|
PagerDutyIncidentDetail |
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 setAutoResolve(Boolean autoResolve)
Indicates whether to resolve the PagerDuty incident when you resolve the associated Incident Manager incident.
autoResolve
- Indicates whether to resolve the PagerDuty incident when you resolve the associated Incident Manager
incident.public Boolean getAutoResolve()
Indicates whether to resolve the PagerDuty incident when you resolve the associated Incident Manager incident.
public PagerDutyIncidentDetail withAutoResolve(Boolean autoResolve)
Indicates whether to resolve the PagerDuty incident when you resolve the associated Incident Manager incident.
autoResolve
- Indicates whether to resolve the PagerDuty incident when you resolve the associated Incident Manager
incident.public Boolean isAutoResolve()
Indicates whether to resolve the PagerDuty incident when you resolve the associated Incident Manager incident.
public void setId(String id)
The ID of the incident associated with the PagerDuty service for the response plan.
id
- The ID of the incident associated with the PagerDuty service for the response plan.public String getId()
The ID of the incident associated with the PagerDuty service for the response plan.
public PagerDutyIncidentDetail withId(String id)
The ID of the incident associated with the PagerDuty service for the response plan.
id
- The ID of the incident associated with the PagerDuty service for the response plan.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 PagerDutyIncidentDetail 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 PagerDutyIncidentDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.