@Generated(value="software.amazon.awssdk:codegen") public final class CreateOpsItemRequest extends SsmRequest implements ToCopyableBuilder<CreateOpsItemRequest.Builder,CreateOpsItemRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateOpsItemRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateOpsItemRequest.Builder |
builder() |
String |
description()
Information about the OpsItem.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<OpsItemNotification> |
notifications()
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or
changed.
|
Map<String,OpsItemDataValue> |
operationalData()
Operational data is custom data that provides useful reference details about the OpsItem.
|
Integer |
priority()
The importance of this OpsItem in relation to other OpsItems in the system.
|
List<RelatedOpsItem> |
relatedOpsItems()
One or more OpsItems that share something in common with the current OpsItems.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateOpsItemRequest.Builder> |
serializableBuilderClass() |
String |
source()
The origin of the OpsItem, such as Amazon EC2 or AWS Systems Manager.
|
List<Tag> |
tags()
Optional metadata that you assign to a resource.
|
String |
title()
A short heading that describes the nature of the OpsItem and the impacted resource.
|
CreateOpsItemRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String description()
Information about the OpsItem.
public 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.
This custom data is searchable, but with restrictions. For the Searchable operational data feature,
all users with access to the OpsItem Overview page (as provided by the DescribeOpsItems API action) can
view and search on the specified data. For the Private operational data feature, the data is only
viewable by users who have access to the OpsItem (as provided by the GetOpsItem API action).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This custom data is searchable, but with restrictions. For the Searchable operational data
feature, all users with access to the OpsItem Overview page (as provided by the DescribeOpsItems
API action) can view and search on the specified data. For the Private operational data
feature, the data is only viewable by users who have access to the OpsItem (as provided by the
GetOpsItem API action).
public List<OpsItemNotification> notifications()
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or changed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Integer priority()
The importance of this OpsItem in relation to other OpsItems in the system.
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String source()
The origin of the OpsItem, such as Amazon EC2 or AWS Systems Manager.
public String title()
A short heading that describes the nature of the OpsItem and the impacted resource.
public List<Tag> tags()
Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag an OpsItem to identify the AWS resource or the type of issue. In this case, you could specify the following key name/value pairs:
Key=source,Value=EC2-instance
Key=status,Value=stopped
To add tags to an existing OpsItem, use the AddTagsToResource action.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Key=source,Value=EC2-instance
Key=status,Value=stopped
To add tags to an existing OpsItem, use the AddTagsToResource action.
public CreateOpsItemRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateOpsItemRequest.Builder,CreateOpsItemRequest>toBuilder in class SsmRequestpublic static CreateOpsItemRequest.Builder builder()
public static Class<? extends CreateOpsItemRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.