@Generated(value="software.amazon.awssdk:codegen") public final class OpsItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OpsItem.Builder,OpsItem>
Operations engineers and IT professionals use the Systems Manager OpsItems capability to view, investigate, and remediate operational issues impacting the performance and health of their AWS resources. For more information, see AWS Systems Manager OpsItems in the AWS Systems Manager User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OpsItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OpsItem.Builder |
builder() |
String |
createdBy()
The ARN of the AWS account that created the OpsItem.
|
Instant |
createdTime()
The date and time the OpsItem was created.
|
String |
description()
The OpsItem description.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastModifiedBy()
The ARN of the AWS account that last updated the OpsItem.
|
Instant |
lastModifiedTime()
The date and time the OpsItem was last updated.
|
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.
|
String |
opsItemId()
The ID of 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 OpsItem.Builder> |
serializableBuilderClass() |
String |
source()
The origin of the OpsItem, such as Amazon EC2 or AWS Systems Manager.
|
OpsItemStatus |
status()
The OpsItem status.
|
String |
statusAsString()
The OpsItem status.
|
String |
title()
A short heading that describes the nature of the OpsItem and the impacted resource.
|
OpsItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The version of this OpsItem.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String createdBy()
The ARN of the AWS account that created the OpsItem.
public Instant createdTime()
The date and time the OpsItem was created.
public String description()
The OpsItem description.
public String lastModifiedBy()
The ARN of the AWS account that last updated the OpsItem.
public Instant lastModifiedTime()
The date and time the OpsItem was last updated.
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 OpsItemStatus status()
The OpsItem status. Status can be Open, In Progress, or Resolved. For more
information, see Editing OpsItem Details in the AWS Systems Manager User Guide.
If the service returns an enum value that is not available in the current SDK version, status will
return OpsItemStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Open, In Progress, or Resolved.
For more information, see Editing OpsItem Details in the AWS Systems Manager User Guide.OpsItemStatuspublic String statusAsString()
The OpsItem status. Status can be Open, In Progress, or Resolved. For more
information, see Editing OpsItem Details in the AWS Systems Manager User Guide.
If the service returns an enum value that is not available in the current SDK version, status will
return OpsItemStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Open, In Progress, or Resolved.
For more information, see Editing OpsItem Details in the AWS Systems Manager User Guide.OpsItemStatuspublic String opsItemId()
The ID of the OpsItem.
public String version()
The version of this OpsItem. Each time the OpsItem is edited the version number increments by one.
public String title()
A short heading that describes the nature of the OpsItem and the impacted resource.
public String source()
The origin of the OpsItem, such as Amazon EC2 or AWS Systems Manager. The impacted resource is a subset of source.
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 OpsItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OpsItem.Builder,OpsItem>public static OpsItem.Builder builder()
public static Class<? extends OpsItem.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.