/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.simplesystemsmanagement.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and * remediate operational work items (OpsItems) impacting the performance and health of their Amazon Web Services * resources. OpsCenter is integrated with Amazon EventBridge and Amazon CloudWatch. This means you can configure these * services to automatically create an OpsItem in OpsCenter when a CloudWatch alarm enters the ALARM state or when * EventBridge processes an event from any Amazon Web Services service that publishes events. Configuring Amazon * CloudWatch alarms and EventBridge events to automatically create OpsItems allows you to quickly diagnose and * remediate issues with Amazon Web Services resources from a single console. *
** To help you diagnose issues, each OpsItem includes contextually relevant information such as the name and ID of the * Amazon Web Services resource that generated the OpsItem, alarm or event details, alarm history, and an alarm timeline * graph. For the Amazon Web Services resource, OpsCenter aggregates information from Config, CloudTrail logs, and * EventBridge, so you don't have to navigate across multiple console pages during your investigation. For more * information, see OpsCenter * in the Amazon Web Services Systems Manager User Guide. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class OpsItem implements Serializable, Cloneable, StructuredPojo { /** ** The ARN of the Amazon Web Services account that created the OpsItem. *
*/ private String createdBy; /** ** The type of OpsItem. Systems Manager supports the following types of OpsItems: *
*
* /aws/issue
*
* This type of OpsItem is used for default OpsItems created by OpsCenter. *
*
* /aws/changerequest
*
* This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests. *
*
* /aws/insights
*
* This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems. *
** The date and time the OpsItem was created. *
*/ private java.util.Date createdTime; /** ** The OpsItem description. *
*/ private String description; /** ** The ARN of the Amazon Web Services account that last updated the OpsItem. *
*/ private String lastModifiedBy; /** ** The date and time the OpsItem was last updated. *
*/ private java.util.Date lastModifiedTime; /** ** The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where notifications * are sent when this OpsItem is edited or changed. *
*/ private com.amazonaws.internal.SdkInternalList* The importance of this OpsItem in relation to other OpsItems in the system. *
*/ private Integer priority; /** ** One or more OpsItems that share something in common with the current OpsItem. For example, related OpsItems can * include OpsItems with similar error messages, impacted resources, or statuses for the impacted resource. *
*/ private com.amazonaws.internal.SdkInternalList
* The OpsItem status. Status can be Open
, In Progress
, or Resolved
. For more
* information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
*
* The ID of the OpsItem. *
*/ private String opsItemId; /** ** The version of this OpsItem. Each time the OpsItem is edited the version number increments by one. *
*/ private String version; /** ** A short heading that describes the nature of the OpsItem and the impacted resource. *
*/ private String title; /** ** The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The impacted resource is a subset of source. *
*/ private String source; /** ** Operational data is custom data that provides useful reference details about the OpsItem. For example, you can * specify log files, error strings, license keys, troubleshooting tips, or other relevant data. You enter * operational data as key-value pairs. The key has a maximum length of 128 characters. The value has a maximum size * of 20 KB. *
*
* Operational data keys can't begin with the following: amazon
, aws
,
* amzn
, ssm
, /amazon
, /aws
, /amzn
,
* /ssm
.
*
* You can choose to make the data searchable by other users in the account or you can restrict search access. * Searchable data means that all users with access to the OpsItem Overview page (as provided by the * DescribeOpsItems API operation) can view and search on the specified data. Operational data that isn't * searchable is only viewable by users who have access to the OpsItem (as provided by the GetOpsItem API * operation). *
*
* Use the /aws/resources
key in OperationalData to specify a related resource in the request. Use the
* /aws/automations
key in OperationalData to associate an Automation runbook with the OpsItem. To view
* Amazon Web Services CLI example commands that use these keys, see Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.
*
* An OpsItem category. Category options include: Availability, Cost, Performance, Recovery, Security. *
*/ private String category; /** ** The severity of the OpsItem. Severity options range from 1 to 4. *
*/ private String severity; /** *
* The time a runbook workflow started. Currently reported only for the OpsItem type /aws/changerequest
* .
*
* The time a runbook workflow ended. Currently reported only for the OpsItem type /aws/changerequest
.
*
* The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem
* type /aws/changerequest
.
*
* The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem
* type /aws/changerequest
.
*
* The OpsItem Amazon Resource Name (ARN). *
*/ private String opsItemArn; /** ** The ARN of the Amazon Web Services account that created the OpsItem. *
* * @param createdBy * The ARN of the Amazon Web Services account that created the OpsItem. */ public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } /** ** The ARN of the Amazon Web Services account that created the OpsItem. *
* * @return The ARN of the Amazon Web Services account that created the OpsItem. */ public String getCreatedBy() { return this.createdBy; } /** ** The ARN of the Amazon Web Services account that created the OpsItem. *
* * @param createdBy * The ARN of the Amazon Web Services account that created the OpsItem. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItem withCreatedBy(String createdBy) { setCreatedBy(createdBy); return this; } /** ** The type of OpsItem. Systems Manager supports the following types of OpsItems: *
*
* /aws/issue
*
* This type of OpsItem is used for default OpsItems created by OpsCenter. *
*
* /aws/changerequest
*
* This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests. *
*
* /aws/insights
*
* This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems. *
*
* /aws/issue
*
* This type of OpsItem is used for default OpsItems created by OpsCenter. *
*
* /aws/changerequest
*
* This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests. *
*
* /aws/insights
*
* This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems. *
** The type of OpsItem. Systems Manager supports the following types of OpsItems: *
*
* /aws/issue
*
* This type of OpsItem is used for default OpsItems created by OpsCenter. *
*
* /aws/changerequest
*
* This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests. *
*
* /aws/insights
*
* This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems. *
*
* /aws/issue
*
* This type of OpsItem is used for default OpsItems created by OpsCenter. *
*
* /aws/changerequest
*
* This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests. *
*
* /aws/insights
*
* This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems. *
** The type of OpsItem. Systems Manager supports the following types of OpsItems: *
*
* /aws/issue
*
* This type of OpsItem is used for default OpsItems created by OpsCenter. *
*
* /aws/changerequest
*
* This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests. *
*
* /aws/insights
*
* This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems. *
*
* /aws/issue
*
* This type of OpsItem is used for default OpsItems created by OpsCenter. *
*
* /aws/changerequest
*
* This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change requests. *
*
* /aws/insights
*
* This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate OpsItems. *
** The date and time the OpsItem was created. *
* * @param createdTime * The date and time the OpsItem was created. */ public void setCreatedTime(java.util.Date createdTime) { this.createdTime = createdTime; } /** ** The date and time the OpsItem was created. *
* * @return The date and time the OpsItem was created. */ public java.util.Date getCreatedTime() { return this.createdTime; } /** ** The date and time the OpsItem was created. *
* * @param createdTime * The date and time the OpsItem was created. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItem withCreatedTime(java.util.Date createdTime) { setCreatedTime(createdTime); return this; } /** ** The OpsItem description. *
* * @param description * The OpsItem description. */ public void setDescription(String description) { this.description = description; } /** ** The OpsItem description. *
* * @return The OpsItem description. */ public String getDescription() { return this.description; } /** ** The OpsItem description. *
* * @param description * The OpsItem description. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItem withDescription(String description) { setDescription(description); return this; } /** ** The ARN of the Amazon Web Services account that last updated the OpsItem. *
* * @param lastModifiedBy * The ARN of the Amazon Web Services account that last updated the OpsItem. */ public void setLastModifiedBy(String lastModifiedBy) { this.lastModifiedBy = lastModifiedBy; } /** ** The ARN of the Amazon Web Services account that last updated the OpsItem. *
* * @return The ARN of the Amazon Web Services account that last updated the OpsItem. */ public String getLastModifiedBy() { return this.lastModifiedBy; } /** ** The ARN of the Amazon Web Services account that last updated the OpsItem. *
* * @param lastModifiedBy * The ARN of the Amazon Web Services account that last updated the OpsItem. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItem withLastModifiedBy(String lastModifiedBy) { setLastModifiedBy(lastModifiedBy); return this; } /** ** The date and time the OpsItem was last updated. *
* * @param lastModifiedTime * The date and time the OpsItem was last updated. */ public void setLastModifiedTime(java.util.Date lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; } /** ** The date and time the OpsItem was last updated. *
* * @return The date and time the OpsItem was last updated. */ public java.util.Date getLastModifiedTime() { return this.lastModifiedTime; } /** ** The date and time the OpsItem was last updated. *
* * @param lastModifiedTime * The date and time the OpsItem was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItem withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** ** The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where notifications * are sent when this OpsItem is edited or changed. *
* * @return The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where * notifications are sent when this OpsItem is edited or changed. */ public java.util.List* The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where notifications * are sent when this OpsItem is edited or changed. *
* * @param notifications * The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where * notifications are sent when this OpsItem is edited or changed. */ public void setNotifications(java.util.Collection* The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where notifications * are sent when this OpsItem is edited or changed. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setNotifications(java.util.Collection)} or {@link #withNotifications(java.util.Collection)} if you want * to override the existing values. *
* * @param notifications * The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where * notifications are sent when this OpsItem is edited or changed. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItem withNotifications(OpsItemNotification... notifications) { if (this.notifications == null) { setNotifications(new com.amazonaws.internal.SdkInternalList* The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where notifications * are sent when this OpsItem is edited or changed. *
* * @param notifications * The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where * notifications are sent when this OpsItem is edited or changed. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItem withNotifications(java.util.Collection* The importance of this OpsItem in relation to other OpsItems in the system. *
* * @param priority * The importance of this OpsItem in relation to other OpsItems in the system. */ public void setPriority(Integer priority) { this.priority = priority; } /** ** The importance of this OpsItem in relation to other OpsItems in the system. *
* * @return The importance of this OpsItem in relation to other OpsItems in the system. */ public Integer getPriority() { return this.priority; } /** ** The importance of this OpsItem in relation to other OpsItems in the system. *
* * @param priority * The importance of this OpsItem in relation to other OpsItems in the system. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItem withPriority(Integer priority) { setPriority(priority); return this; } /** ** One or more OpsItems that share something in common with the current OpsItem. For example, related OpsItems can * include OpsItems with similar error messages, impacted resources, or statuses for the impacted resource. *
* * @return One or more OpsItems that share something in common with the current OpsItem. For example, related * OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for the * impacted resource. */ public java.util.List* One or more OpsItems that share something in common with the current OpsItem. For example, related OpsItems can * include OpsItems with similar error messages, impacted resources, or statuses for the impacted resource. *
* * @param relatedOpsItems * One or more OpsItems that share something in common with the current OpsItem. For example, related * OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for the * impacted resource. */ public void setRelatedOpsItems(java.util.Collection* One or more OpsItems that share something in common with the current OpsItem. For example, related OpsItems can * include OpsItems with similar error messages, impacted resources, or statuses for the impacted resource. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setRelatedOpsItems(java.util.Collection)} or {@link #withRelatedOpsItems(java.util.Collection)} if you * want to override the existing values. *
* * @param relatedOpsItems * One or more OpsItems that share something in common with the current OpsItem. For example, related * OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for the * impacted resource. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItem withRelatedOpsItems(RelatedOpsItem... relatedOpsItems) { if (this.relatedOpsItems == null) { setRelatedOpsItems(new com.amazonaws.internal.SdkInternalList* One or more OpsItems that share something in common with the current OpsItem. For example, related OpsItems can * include OpsItems with similar error messages, impacted resources, or statuses for the impacted resource. *
* * @param relatedOpsItems * One or more OpsItems that share something in common with the current OpsItem. For example, related * OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for the * impacted resource. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItem withRelatedOpsItems(java.util.Collection
* The OpsItem status. Status can be Open
, In Progress
, or Resolved
. For more
* information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
*
Open
, In Progress
, or Resolved
.
* For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
* @see OpsItemStatus
*/
public void setStatus(String status) {
this.status = status;
}
/**
*
* The OpsItem status. Status can be Open
, In Progress
, or Resolved
. For more
* information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
*
Open
, In Progress
, or Resolved
.
* For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
* @see OpsItemStatus
*/
public String getStatus() {
return this.status;
}
/**
*
* The OpsItem status. Status can be Open
, In Progress
, or Resolved
. For more
* information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
*
Open
, In Progress
, or Resolved
.
* For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
* @see OpsItemStatus
*/
public OpsItem withStatus(String status) {
setStatus(status);
return this;
}
/**
*
* The OpsItem status. Status can be Open
, In Progress
, or Resolved
. For more
* information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
*
Open
, In Progress
, or Resolved
.
* For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
* @see OpsItemStatus
*/
public OpsItem withStatus(OpsItemStatus status) {
this.status = status.toString();
return this;
}
/**
* * The ID of the OpsItem. *
* * @param opsItemId * The ID of the OpsItem. */ public void setOpsItemId(String opsItemId) { this.opsItemId = opsItemId; } /** ** The ID of the OpsItem. *
* * @return The ID of the OpsItem. */ public String getOpsItemId() { return this.opsItemId; } /** ** The ID of the OpsItem. *
* * @param opsItemId * The ID of the OpsItem. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItem withOpsItemId(String opsItemId) { setOpsItemId(opsItemId); return this; } /** ** The version of this OpsItem. Each time the OpsItem is edited the version number increments by one. *
* * @param version * The version of this OpsItem. Each time the OpsItem is edited the version number increments by one. */ public void setVersion(String version) { this.version = version; } /** ** The version of this OpsItem. Each time the OpsItem is edited the version number increments by one. *
* * @return The version of this OpsItem. Each time the OpsItem is edited the version number increments by one. */ public String getVersion() { return this.version; } /** ** The version of this OpsItem. Each time the OpsItem is edited the version number increments by one. *
* * @param version * The version of this OpsItem. Each time the OpsItem is edited the version number increments by one. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItem withVersion(String version) { setVersion(version); return this; } /** ** A short heading that describes the nature of the OpsItem and the impacted resource. *
* * @param title * A short heading that describes the nature of the OpsItem and the impacted resource. */ public void setTitle(String title) { this.title = title; } /** ** A short heading that describes the nature of the OpsItem and the impacted resource. *
* * @return A short heading that describes the nature of the OpsItem and the impacted resource. */ public String getTitle() { return this.title; } /** ** A short heading that describes the nature of the OpsItem and the impacted resource. *
* * @param title * A short heading that describes the nature of the OpsItem and the impacted resource. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItem withTitle(String title) { setTitle(title); return this; } /** ** The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The impacted resource is a subset of source. *
* * @param source * The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The impacted resource is a subset of * source. */ public void setSource(String source) { this.source = source; } /** ** The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The impacted resource is a subset of source. *
* * @return The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The impacted resource is a subset of * source. */ public String getSource() { return this.source; } /** ** The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The impacted resource is a subset of source. *
* * @param source * The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The impacted resource is a subset of * source. * @return Returns a reference to this object so that method calls can be chained together. */ public OpsItem withSource(String source) { setSource(source); return this; } /** ** Operational data is custom data that provides useful reference details about the OpsItem. For example, you can * specify log files, error strings, license keys, troubleshooting tips, or other relevant data. You enter * operational data as key-value pairs. The key has a maximum length of 128 characters. The value has a maximum size * of 20 KB. *
*
* Operational data keys can't begin with the following: amazon
, aws
,
* amzn
, ssm
, /amazon
, /aws
, /amzn
,
* /ssm
.
*
* You can choose to make the data searchable by other users in the account or you can restrict search access. * Searchable data means that all users with access to the OpsItem Overview page (as provided by the * DescribeOpsItems API operation) can view and search on the specified data. Operational data that isn't * searchable is only viewable by users who have access to the OpsItem (as provided by the GetOpsItem API * operation). *
*
* Use the /aws/resources
key in OperationalData to specify a related resource in the request. Use the
* /aws/automations
key in OperationalData to associate an Automation runbook with the OpsItem. To view
* Amazon Web Services CLI example commands that use these keys, see Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.
*
* Operational data keys can't begin with the following: amazon
, aws
,
* amzn
, ssm
, /amazon
, /aws
, /amzn
,
* /ssm
.
*
* You can choose to make the data searchable by other users in the account or you can restrict search * access. Searchable data means that all users with access to the OpsItem Overview page (as provided by the * DescribeOpsItems API operation) can view and search on the specified data. Operational data that * isn't searchable is only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API operation). *
*
* Use the
* Operational data is custom data that provides useful reference details about the OpsItem. For example, you can
* specify log files, error strings, license keys, troubleshooting tips, or other relevant data. You enter
* operational data as key-value pairs. The key has a maximum length of 128 characters. The value has a maximum size
* of 20 KB.
*
* Operational data keys can't begin with the following:
* You can choose to make the data searchable by other users in the account or you can restrict search access.
* Searchable data means that all users with access to the OpsItem Overview page (as provided by the
* DescribeOpsItems API operation) can view and search on the specified data. Operational data that isn't
* searchable is only viewable by users who have access to the OpsItem (as provided by the GetOpsItem API
* operation).
*
* Use the /aws/resources
key in OperationalData to specify a related resource in the request.
* Use the /aws/automations
key in OperationalData to associate an Automation runbook with the
* OpsItem. To view Amazon Web Services CLI example commands that use these keys, see Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.
*/
public java.util.Mapamazon
, aws
,
* amzn
, ssm
, /amazon
, /aws
, /amzn
,
* /ssm
.
* /aws/resources
key in OperationalData to specify a related resource in the request. Use the
* /aws/automations
key in OperationalData to associate an Automation runbook with the OpsItem. To view
* Amazon Web Services CLI example commands that use these keys, see Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.
*
* Operational data keys can't begin with the following: amazon
, aws
,
* amzn
, ssm
, /amazon
, /aws
, /amzn
,
* /ssm
.
*
* You can choose to make the data searchable by other users in the account or you can restrict search * access. Searchable data means that all users with access to the OpsItem Overview page (as provided by the * DescribeOpsItems API operation) can view and search on the specified data. Operational data that * isn't searchable is only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API operation). *
*
* Use the
* Operational data is custom data that provides useful reference details about the OpsItem. For example, you can
* specify log files, error strings, license keys, troubleshooting tips, or other relevant data. You enter
* operational data as key-value pairs. The key has a maximum length of 128 characters. The value has a maximum size
* of 20 KB.
*
* Operational data keys can't begin with the following:
* You can choose to make the data searchable by other users in the account or you can restrict search access.
* Searchable data means that all users with access to the OpsItem Overview page (as provided by the
* DescribeOpsItems API operation) can view and search on the specified data. Operational data that isn't
* searchable is only viewable by users who have access to the OpsItem (as provided by the GetOpsItem API
* operation).
*
* Use the /aws/resources
key in OperationalData to specify a related resource in the request.
* Use the /aws/automations
key in OperationalData to associate an Automation runbook with the
* OpsItem. To view Amazon Web Services CLI example commands that use these keys, see Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.
*/
public void setOperationalData(java.util.Mapamazon
, aws
,
* amzn
, ssm
, /amazon
, /aws
, /amzn
,
* /ssm
.
* /aws/resources
key in OperationalData to specify a related resource in the request. Use the
* /aws/automations
key in OperationalData to associate an Automation runbook with the OpsItem. To view
* Amazon Web Services CLI example commands that use these keys, see Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.
*
* Operational data keys can't begin with the following: amazon
, aws
,
* amzn
, ssm
, /amazon
, /aws
, /amzn
,
* /ssm
.
*
* You can choose to make the data searchable by other users in the account or you can restrict search * access. Searchable data means that all users with access to the OpsItem Overview page (as provided by the * DescribeOpsItems API operation) can view and search on the specified data. Operational data that * isn't searchable is only viewable by users who have access to the OpsItem (as provided by the * GetOpsItem API operation). *
*
* Use the
* An OpsItem category. Category options include: Availability, Cost, Performance, Recovery, Security.
*
* An OpsItem category. Category options include: Availability, Cost, Performance, Recovery, Security.
*
* An OpsItem category. Category options include: Availability, Cost, Performance, Recovery, Security.
*
* The severity of the OpsItem. Severity options range from 1 to 4.
*
* The severity of the OpsItem. Severity options range from 1 to 4.
*
* The severity of the OpsItem. Severity options range from 1 to 4.
*
* The time a runbook workflow started. Currently reported only for the OpsItem type
* The time a runbook workflow started. Currently reported only for the OpsItem type
* The time a runbook workflow started. Currently reported only for the OpsItem type
* The time a runbook workflow ended. Currently reported only for the OpsItem type
* The time a runbook workflow ended. Currently reported only for the OpsItem type
* The time a runbook workflow ended. Currently reported only for the OpsItem type
* The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem
* type
* The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem
* type
* The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem
* type
* The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem
* type
* The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem
* type
* The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem
* type
* The OpsItem Amazon Resource Name (ARN).
*
* The OpsItem Amazon Resource Name (ARN).
*
* The OpsItem Amazon Resource Name (ARN).
* /aws/resources
key in OperationalData to specify a related resource in the request.
* Use the /aws/automations
key in OperationalData to associate an Automation runbook with the
* OpsItem. To view Amazon Web Services CLI example commands that use these keys, see Creating OpsItems manually in the Amazon Web Services Systems Manager User Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public OpsItem withOperationalData(java.util.Map/aws/changerequest
* .
* /aws/changerequest
.
*/
public void setActualStartTime(java.util.Date actualStartTime) {
this.actualStartTime = actualStartTime;
}
/**
* /aws/changerequest
* .
* /aws/changerequest
.
*/
public java.util.Date getActualStartTime() {
return this.actualStartTime;
}
/**
* /aws/changerequest
* .
* /aws/changerequest
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public OpsItem withActualStartTime(java.util.Date actualStartTime) {
setActualStartTime(actualStartTime);
return this;
}
/**
* /aws/changerequest
.
* /aws/changerequest
.
*/
public void setActualEndTime(java.util.Date actualEndTime) {
this.actualEndTime = actualEndTime;
}
/**
* /aws/changerequest
.
* /aws/changerequest
.
*/
public java.util.Date getActualEndTime() {
return this.actualEndTime;
}
/**
* /aws/changerequest
.
* /aws/changerequest
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public OpsItem withActualEndTime(java.util.Date actualEndTime) {
setActualEndTime(actualEndTime);
return this;
}
/**
* /aws/changerequest
.
* /aws/changerequest
.
*/
public void setPlannedStartTime(java.util.Date plannedStartTime) {
this.plannedStartTime = plannedStartTime;
}
/**
* /aws/changerequest
.
* /aws/changerequest
.
*/
public java.util.Date getPlannedStartTime() {
return this.plannedStartTime;
}
/**
* /aws/changerequest
.
* /aws/changerequest
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public OpsItem withPlannedStartTime(java.util.Date plannedStartTime) {
setPlannedStartTime(plannedStartTime);
return this;
}
/**
* /aws/changerequest
.
* /aws/changerequest
.
*/
public void setPlannedEndTime(java.util.Date plannedEndTime) {
this.plannedEndTime = plannedEndTime;
}
/**
* /aws/changerequest
.
* /aws/changerequest
.
*/
public java.util.Date getPlannedEndTime() {
return this.plannedEndTime;
}
/**
* /aws/changerequest
.
* /aws/changerequest
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public OpsItem withPlannedEndTime(java.util.Date plannedEndTime) {
setPlannedEndTime(plannedEndTime);
return this;
}
/**
*