@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateOpsItemRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateOpsItemRequest() |
Modifier and Type | Method and Description |
---|---|
CreateOpsItemRequest |
addOperationalDataEntry(String key,
OpsItemDataValue value)
Add a single OperationalData entry
|
CreateOpsItemRequest |
clearOperationalDataEntries()
Removes all the entries added into OperationalData.
|
CreateOpsItemRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCategory()
Specify a category to assign to an OpsItem.
|
String |
getDescription()
Information about the OpsItem.
|
List<OpsItemNotification> |
getNotifications()
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or
changed.
|
Map<String,OpsItemDataValue> |
getOperationalData()
Operational data is custom data that provides useful reference details about the OpsItem.
|
Integer |
getPriority()
The importance of this OpsItem in relation to other OpsItems in the system.
|
List<RelatedOpsItem> |
getRelatedOpsItems()
One or more OpsItems that share something in common with the current OpsItems.
|
String |
getSeverity()
Specify a severity to assign to an OpsItem.
|
String |
getSource()
The origin of the OpsItem, such as Amazon EC2 or Systems Manager.
|
List<Tag> |
getTags()
Optional metadata that you assign to a resource.
|
String |
getTitle()
A short heading that describes the nature of the OpsItem and the impacted resource.
|
int |
hashCode() |
void |
setCategory(String category)
Specify a category to assign to an OpsItem.
|
void |
setDescription(String description)
Information about the OpsItem.
|
void |
setNotifications(Collection<OpsItemNotification> notifications)
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or
changed.
|
void |
setOperationalData(Map<String,OpsItemDataValue> operationalData)
Operational data is custom data that provides useful reference details about the OpsItem.
|
void |
setPriority(Integer priority)
The importance of this OpsItem in relation to other OpsItems in the system.
|
void |
setRelatedOpsItems(Collection<RelatedOpsItem> relatedOpsItems)
One or more OpsItems that share something in common with the current OpsItems.
|
void |
setSeverity(String severity)
Specify a severity to assign to an OpsItem.
|
void |
setSource(String source)
The origin of the OpsItem, such as Amazon EC2 or Systems Manager.
|
void |
setTags(Collection<Tag> tags)
Optional metadata that you assign to a resource.
|
void |
setTitle(String title)
A short heading that describes the nature of the OpsItem and the impacted resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateOpsItemRequest |
withCategory(String category)
Specify a category to assign to an OpsItem.
|
CreateOpsItemRequest |
withDescription(String description)
Information about the OpsItem.
|
CreateOpsItemRequest |
withNotifications(Collection<OpsItemNotification> notifications)
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or
changed.
|
CreateOpsItemRequest |
withNotifications(OpsItemNotification... notifications)
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or
changed.
|
CreateOpsItemRequest |
withOperationalData(Map<String,OpsItemDataValue> operationalData)
Operational data is custom data that provides useful reference details about the OpsItem.
|
CreateOpsItemRequest |
withPriority(Integer priority)
The importance of this OpsItem in relation to other OpsItems in the system.
|
CreateOpsItemRequest |
withRelatedOpsItems(Collection<RelatedOpsItem> relatedOpsItems)
One or more OpsItems that share something in common with the current OpsItems.
|
CreateOpsItemRequest |
withRelatedOpsItems(RelatedOpsItem... relatedOpsItems)
One or more OpsItems that share something in common with the current OpsItems.
|
CreateOpsItemRequest |
withSeverity(String severity)
Specify a severity to assign to an OpsItem.
|
CreateOpsItemRequest |
withSource(String source)
The origin of the OpsItem, such as Amazon EC2 or Systems Manager.
|
CreateOpsItemRequest |
withTags(Collection<Tag> tags)
Optional metadata that you assign to a resource.
|
CreateOpsItemRequest |
withTags(Tag... tags)
Optional metadata that you assign to a resource.
|
CreateOpsItemRequest |
withTitle(String title)
A short heading that describes the nature of the OpsItem and the impacted resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDescription(String description)
Information about the OpsItem.
description
- Information about the OpsItem.public String getDescription()
Information about the OpsItem.
public CreateOpsItemRequest withDescription(String description)
Information about the OpsItem.
description
- Information about the OpsItem.public Map<String,OpsItemDataValue> getOperationalData()
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 action) can view and search on the specified data. Operational data that is not searchable is only viewable by users who have access to the OpsItem (as provided by the GetOpsItem API action).
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
AWS CLI example commands that use these keys, see Creating OpsItems manually in the AWS 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 action) can view and search on the specified data. Operational data that is not searchable is only viewable by users who have access to the OpsItem (as provided by the GetOpsItem API action).
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 AWS CLI example commands that use these keys, see Creating OpsItems manually in the AWS Systems Manager User Guide.
public void setOperationalData(Map<String,OpsItemDataValue> operationalData)
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 action) can view and search on the specified data. Operational data that is not searchable is only viewable by users who have access to the OpsItem (as provided by the GetOpsItem API action).
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
AWS CLI example commands that use these keys, see Creating OpsItems manually in the AWS Systems Manager User Guide.
operationalData
- 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 action) can view and search on the specified data. Operational data that is not searchable is only viewable by users who have access to the OpsItem (as provided by the GetOpsItem API action).
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 AWS CLI example commands that use these keys, see Creating OpsItems manually in the AWS Systems Manager User Guide.
public CreateOpsItemRequest withOperationalData(Map<String,OpsItemDataValue> operationalData)
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 action) can view and search on the specified data. Operational data that is not searchable is only viewable by users who have access to the OpsItem (as provided by the GetOpsItem API action).
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
AWS CLI example commands that use these keys, see Creating OpsItems manually in the AWS Systems Manager User Guide.
operationalData
- 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 action) can view and search on the specified data. Operational data that is not searchable is only viewable by users who have access to the OpsItem (as provided by the GetOpsItem API action).
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 AWS CLI example commands that use these keys, see Creating OpsItems manually in the AWS Systems Manager User Guide.
public CreateOpsItemRequest addOperationalDataEntry(String key, OpsItemDataValue value)
public CreateOpsItemRequest clearOperationalDataEntries()
public List<OpsItemNotification> getNotifications()
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or changed.
public void setNotifications(Collection<OpsItemNotification> notifications)
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or changed.
notifications
- The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or
changed.public CreateOpsItemRequest withNotifications(OpsItemNotification... notifications)
The Amazon Resource Name (ARN) of an 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
setNotifications(java.util.Collection)
or withNotifications(java.util.Collection)
if you want
to override the existing values.
notifications
- The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or
changed.public CreateOpsItemRequest withNotifications(Collection<OpsItemNotification> notifications)
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or changed.
notifications
- The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or
changed.public void setPriority(Integer priority)
The importance of this OpsItem in relation to other OpsItems in the system.
priority
- The importance of this OpsItem in relation to other OpsItems in the system.public Integer getPriority()
The importance of this OpsItem in relation to other OpsItems in the system.
public CreateOpsItemRequest withPriority(Integer priority)
The importance of this OpsItem in relation to other OpsItems in the system.
priority
- The importance of this OpsItem in relation to other OpsItems in the system.public List<RelatedOpsItem> getRelatedOpsItems()
One or more OpsItems that share something in common with the current OpsItems. For example, related OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for the impacted resource.
public void setRelatedOpsItems(Collection<RelatedOpsItem> relatedOpsItems)
One or more OpsItems that share something in common with the current OpsItems. For example, related OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for the impacted resource.
relatedOpsItems
- One or more OpsItems that share something in common with the current OpsItems. For example, related
OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for the
impacted resource.public CreateOpsItemRequest withRelatedOpsItems(RelatedOpsItem... relatedOpsItems)
One or more OpsItems that share something in common with the current OpsItems. 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
setRelatedOpsItems(java.util.Collection)
or withRelatedOpsItems(java.util.Collection)
if you
want to override the existing values.
relatedOpsItems
- One or more OpsItems that share something in common with the current OpsItems. For example, related
OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for the
impacted resource.public CreateOpsItemRequest withRelatedOpsItems(Collection<RelatedOpsItem> relatedOpsItems)
One or more OpsItems that share something in common with the current OpsItems. For example, related OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for the impacted resource.
relatedOpsItems
- One or more OpsItems that share something in common with the current OpsItems. For example, related
OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for the
impacted resource.public void setSource(String source)
The origin of the OpsItem, such as Amazon EC2 or Systems Manager.
The source name can't contain the following strings: aws, amazon, and amzn.
source
- The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The source name can't contain the following strings: aws, amazon, and amzn.
public String getSource()
The origin of the OpsItem, such as Amazon EC2 or Systems Manager.
The source name can't contain the following strings: aws, amazon, and amzn.
The source name can't contain the following strings: aws, amazon, and amzn.
public CreateOpsItemRequest withSource(String source)
The origin of the OpsItem, such as Amazon EC2 or Systems Manager.
The source name can't contain the following strings: aws, amazon, and amzn.
source
- The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The source name can't contain the following strings: aws, amazon, and amzn.
public void setTitle(String title)
A short heading that describes the nature of the OpsItem and the impacted resource.
title
- A short heading that describes the nature of the OpsItem and the impacted resource.public String getTitle()
A short heading that describes the nature of the OpsItem and the impacted resource.
public CreateOpsItemRequest withTitle(String title)
A short heading that describes the nature of the OpsItem and the impacted resource.
title
- A short heading that describes the nature of the OpsItem and the impacted resource.public List<Tag> getTags()
Optional metadata that you assign to a resource. You can restrict access to OpsItems by using an inline IAM policy that specifies tags. For more information, see Getting started with OpsCenter in the AWS Systems Manager User Guide.
Tags use a key-value pair. For example:
Key=Department,Value=Finance
To add tags to an existing OpsItem, use the AddTagsToResource action.
Tags use a key-value pair. For example:
Key=Department,Value=Finance
To add tags to an existing OpsItem, use the AddTagsToResource action.
public void setTags(Collection<Tag> tags)
Optional metadata that you assign to a resource. You can restrict access to OpsItems by using an inline IAM policy that specifies tags. For more information, see Getting started with OpsCenter in the AWS Systems Manager User Guide.
Tags use a key-value pair. For example:
Key=Department,Value=Finance
To add tags to an existing OpsItem, use the AddTagsToResource action.
tags
- Optional metadata that you assign to a resource. You can restrict access to OpsItems by using an inline
IAM policy that specifies tags. For more information, see Getting started with OpsCenter in the AWS Systems Manager User Guide.
Tags use a key-value pair. For example:
Key=Department,Value=Finance
To add tags to an existing OpsItem, use the AddTagsToResource action.
public CreateOpsItemRequest withTags(Tag... tags)
Optional metadata that you assign to a resource. You can restrict access to OpsItems by using an inline IAM policy that specifies tags. For more information, see Getting started with OpsCenter in the AWS Systems Manager User Guide.
Tags use a key-value pair. For example:
Key=Department,Value=Finance
To add tags to an existing OpsItem, use the AddTagsToResource action.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Optional metadata that you assign to a resource. You can restrict access to OpsItems by using an inline
IAM policy that specifies tags. For more information, see Getting started with OpsCenter in the AWS Systems Manager User Guide.
Tags use a key-value pair. For example:
Key=Department,Value=Finance
To add tags to an existing OpsItem, use the AddTagsToResource action.
public CreateOpsItemRequest withTags(Collection<Tag> tags)
Optional metadata that you assign to a resource. You can restrict access to OpsItems by using an inline IAM policy that specifies tags. For more information, see Getting started with OpsCenter in the AWS Systems Manager User Guide.
Tags use a key-value pair. For example:
Key=Department,Value=Finance
To add tags to an existing OpsItem, use the AddTagsToResource action.
tags
- Optional metadata that you assign to a resource. You can restrict access to OpsItems by using an inline
IAM policy that specifies tags. For more information, see Getting started with OpsCenter in the AWS Systems Manager User Guide.
Tags use a key-value pair. For example:
Key=Department,Value=Finance
To add tags to an existing OpsItem, use the AddTagsToResource action.
public void setCategory(String category)
Specify a category to assign to an OpsItem.
category
- Specify a category to assign to an OpsItem.public String getCategory()
Specify a category to assign to an OpsItem.
public CreateOpsItemRequest withCategory(String category)
Specify a category to assign to an OpsItem.
category
- Specify a category to assign to an OpsItem.public void setSeverity(String severity)
Specify a severity to assign to an OpsItem.
severity
- Specify a severity to assign to an OpsItem.public String getSeverity()
Specify a severity to assign to an OpsItem.
public CreateOpsItemRequest withSeverity(String severity)
Specify a severity to assign to an OpsItem.
severity
- Specify a severity to assign to an OpsItem.public String toString()
toString
in class Object
Object.toString()
public CreateOpsItemRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()