public static interface OpsItem.Builder extends SdkPojo, CopyableBuilder<OpsItem.Builder,OpsItem>
Modifier and Type | Method and Description |
---|---|
OpsItem.Builder |
actualEndTime(Instant actualEndTime)
The time a runbook workflow ended.
|
OpsItem.Builder |
actualStartTime(Instant actualStartTime)
The time a runbook workflow started.
|
OpsItem.Builder |
category(String category)
An OpsItem category.
|
OpsItem.Builder |
createdBy(String createdBy)
The ARN of the AWS account that created the OpsItem.
|
OpsItem.Builder |
createdTime(Instant createdTime)
The date and time the OpsItem was created.
|
OpsItem.Builder |
description(String description)
The OpsItem description.
|
OpsItem.Builder |
lastModifiedBy(String lastModifiedBy)
The ARN of the AWS account that last updated the OpsItem.
|
OpsItem.Builder |
lastModifiedTime(Instant lastModifiedTime)
The date and time the OpsItem was last updated.
|
OpsItem.Builder |
notifications(Collection<OpsItemNotification> notifications)
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or
changed.
|
OpsItem.Builder |
notifications(Consumer<OpsItemNotification.Builder>... notifications)
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or
changed.
|
OpsItem.Builder |
notifications(OpsItemNotification... notifications)
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or
changed.
|
OpsItem.Builder |
operationalData(Map<String,OpsItemDataValue> operationalData)
Operational data is custom data that provides useful reference details about the OpsItem.
|
OpsItem.Builder |
opsItemId(String opsItemId)
The ID of the OpsItem.
|
OpsItem.Builder |
opsItemType(String opsItemType)
The type of OpsItem.
|
OpsItem.Builder |
plannedEndTime(Instant plannedEndTime)
The time specified in a change request for a runbook workflow to end.
|
OpsItem.Builder |
plannedStartTime(Instant plannedStartTime)
The time specified in a change request for a runbook workflow to start.
|
OpsItem.Builder |
priority(Integer priority)
The importance of this OpsItem in relation to other OpsItems in the system.
|
OpsItem.Builder |
relatedOpsItems(Collection<RelatedOpsItem> relatedOpsItems)
One or more OpsItems that share something in common with the current OpsItem.
|
OpsItem.Builder |
relatedOpsItems(Consumer<RelatedOpsItem.Builder>... relatedOpsItems)
One or more OpsItems that share something in common with the current OpsItem.
|
OpsItem.Builder |
relatedOpsItems(RelatedOpsItem... relatedOpsItems)
One or more OpsItems that share something in common with the current OpsItem.
|
OpsItem.Builder |
severity(String severity)
The severity of the OpsItem.
|
OpsItem.Builder |
source(String source)
The origin of the OpsItem, such as Amazon EC2 or Systems Manager.
|
OpsItem.Builder |
status(OpsItemStatus status)
The OpsItem status.
|
OpsItem.Builder |
status(String status)
The OpsItem status.
|
OpsItem.Builder |
title(String title)
A short heading that describes the nature of the OpsItem and the impacted resource.
|
OpsItem.Builder |
version(String version)
The version of this OpsItem.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
OpsItem.Builder createdBy(String createdBy)
The ARN of the AWS account that created the OpsItem.
createdBy
- The ARN of the AWS account that created the OpsItem.OpsItem.Builder opsItemType(String opsItemType)
The type of OpsItem. Currently, the only valid values are /aws/changerequest
and
/aws/issue
.
opsItemType
- The type of OpsItem. Currently, the only valid values are /aws/changerequest
and
/aws/issue
.OpsItem.Builder createdTime(Instant createdTime)
The date and time the OpsItem was created.
createdTime
- The date and time the OpsItem was created.OpsItem.Builder description(String description)
The OpsItem description.
description
- The OpsItem description.OpsItem.Builder lastModifiedBy(String lastModifiedBy)
The ARN of the AWS account that last updated the OpsItem.
lastModifiedBy
- The ARN of the AWS account that last updated the OpsItem.OpsItem.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time the OpsItem was last updated.
lastModifiedTime
- The date and time the OpsItem was last updated.OpsItem.Builder notifications(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.OpsItem.Builder notifications(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.OpsItem.Builder notifications(Consumer<OpsItemNotification.Builder>... notifications)
The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this OpsItem is edited or changed.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #notifications(List)
.notifications
- a consumer that will call methods on List.Builder
#notifications(List)
OpsItem.Builder priority(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.OpsItem.Builder relatedOpsItems(Collection<RelatedOpsItem> 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.
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.OpsItem.Builder relatedOpsItems(RelatedOpsItem... 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.
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.OpsItem.Builder relatedOpsItems(Consumer<RelatedOpsItem.Builder>... 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.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #relatedOpsItems(List)
.relatedOpsItems
- a consumer that will call methods on List.Builder
#relatedOpsItems(List)
OpsItem.Builder status(String 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.
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.OpsItemStatus
,
OpsItemStatus
OpsItem.Builder status(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.
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.OpsItemStatus
,
OpsItemStatus
OpsItem.Builder opsItemId(String opsItemId)
The ID of the OpsItem.
opsItemId
- The ID of the OpsItem.OpsItem.Builder version(String version)
The version of this OpsItem. Each time the OpsItem is edited the version number increments by one.
version
- The version of this OpsItem. Each time the OpsItem is edited the version number increments by one.OpsItem.Builder title(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.OpsItem.Builder source(String source)
The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The impacted resource is a subset of source.
source
- The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The impacted resource is a subset of
source.OpsItem.Builder operationalData(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.
OpsItem.Builder category(String category)
An OpsItem category. Category options include: Availability, Cost, Performance, Recovery, Security.
category
- An OpsItem category. Category options include: Availability, Cost, Performance, Recovery, Security.OpsItem.Builder severity(String severity)
The severity of the OpsItem. Severity options range from 1 to 4.
severity
- The severity of the OpsItem. Severity options range from 1 to 4.OpsItem.Builder actualStartTime(Instant actualStartTime)
The time a runbook workflow started. Currently reported only for the OpsItem type
/aws/changerequest
.
actualStartTime
- The time a runbook workflow started. Currently reported only for the OpsItem type
/aws/changerequest
.OpsItem.Builder actualEndTime(Instant actualEndTime)
The time a runbook workflow ended. Currently reported only for the OpsItem type
/aws/changerequest
.
actualEndTime
- The time a runbook workflow ended. Currently reported only for the OpsItem type
/aws/changerequest
.OpsItem.Builder plannedStartTime(Instant plannedStartTime)
The time specified in a change request for a runbook workflow to start. Currently supported only for the
OpsItem type /aws/changerequest
.
plannedStartTime
- The time specified in a change request for a runbook workflow to start. Currently supported only for
the OpsItem type /aws/changerequest
.OpsItem.Builder plannedEndTime(Instant plannedEndTime)
The time specified in a change request for a runbook workflow to end. Currently supported only for the
OpsItem type /aws/changerequest
.
plannedEndTime
- The time specified in a change request for a runbook workflow to end. Currently supported only for the
OpsItem type /aws/changerequest
.Copyright © 2021. All rights reserved.