@Generated(value="software.amazon.awssdk:codegen") public final class OpsItemSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OpsItemSummary.Builder,OpsItemSummary>
A count of OpsItems.
Modifier and Type | Class and Description |
---|---|
static interface |
OpsItemSummary.Builder |
Modifier and Type | Method and Description |
---|---|
Instant |
actualEndTime()
The time a runbook workflow ended.
|
Instant |
actualStartTime()
The time a runbook workflow started.
|
static OpsItemSummary.Builder |
builder() |
String |
category()
A list of OpsItems by category.
|
String |
createdBy()
The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem.
|
Instant |
createdTime()
The date and time the OpsItem was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasOperationalData()
For responses, this returns true if the service returned a value for the OperationalData property.
|
String |
lastModifiedBy()
The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem.
|
Instant |
lastModifiedTime()
The date and time the OpsItem was last updated.
|
Map<String,OpsItemDataValue> |
operationalData()
Operational data is custom data that provides useful reference details about the OpsItem.
|
String |
opsItemId()
The ID of the OpsItem.
|
String |
opsItemType()
The type of OpsItem.
|
Instant |
plannedEndTime()
The time specified in a change request for a runbook workflow to end.
|
Instant |
plannedStartTime()
The time specified in a change request for a runbook workflow to start.
|
Integer |
priority()
The importance of this OpsItem in relation to other OpsItems in the system.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OpsItemSummary.Builder> |
serializableBuilderClass() |
String |
severity()
A list of OpsItems by severity.
|
String |
source()
The impacted Amazon Web Services resource.
|
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.
|
OpsItemSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String createdBy()
The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem.
public final Instant createdTime()
The date and time the OpsItem was created.
public final String lastModifiedBy()
The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem.
public final Instant lastModifiedTime()
The date and time the OpsItem was last updated.
public final Integer priority()
The importance of this OpsItem in relation to other OpsItems in the system.
public final String source()
The impacted Amazon Web Services resource.
public final OpsItemStatus status()
The OpsItem status. Status can be Open
, In Progress
, or Resolved
.
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
.OpsItemStatus
public final String statusAsString()
The OpsItem status. Status can be Open
, In Progress
, or Resolved
.
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
.OpsItemStatus
public final String opsItemId()
The ID of the OpsItem.
public final String title()
A short heading that describes the nature of the OpsItem and the impacted resource.
public final boolean hasOperationalData()
isEmpty()
method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,OpsItemDataValue> operationalData()
Operational data is custom data that provides useful reference details about the OpsItem.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasOperationalData()
method.
public final String category()
A list of OpsItems by category.
public final String severity()
A list of OpsItems by severity.
public final String opsItemType()
The type of OpsItem. Currently, the only valid values are /aws/changerequest
and
/aws/issue
.
/aws/changerequest
and
/aws/issue
.public final Instant actualStartTime()
The time a runbook workflow started. Currently reported only for the OpsItem type /aws/changerequest
.
/aws/changerequest
.public final Instant actualEndTime()
The time a runbook workflow ended. Currently reported only for the OpsItem type /aws/changerequest
.
/aws/changerequest
.public final Instant plannedStartTime()
The time specified in a change request for a runbook workflow to start. Currently supported only for the OpsItem
type /aws/changerequest
.
/aws/changerequest
.public final Instant plannedEndTime()
The time specified in a change request for a runbook workflow to end. Currently supported only for the OpsItem
type /aws/changerequest
.
/aws/changerequest
.public OpsItemSummary.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<OpsItemSummary.Builder,OpsItemSummary>
public static OpsItemSummary.Builder builder()
public static Class<? extends OpsItemSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.