@Generated(value="software.amazon.awssdk:codegen") public final class AssociateOpsItemRelatedItemRequest extends SsmRequest implements ToCopyableBuilder<AssociateOpsItemRelatedItemRequest.Builder,AssociateOpsItemRelatedItemRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
AssociateOpsItemRelatedItemRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
associationType()
The type of association that you want to create between an OpsItem and a resource.
|
static AssociateOpsItemRelatedItemRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
opsItemId()
The ID of the OpsItem to which you want to associate a resource as a related item.
|
String |
resourceType()
The type of resource that you want to associate with an OpsItem.
|
String |
resourceUri()
The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssociateOpsItemRelatedItemRequest.Builder> |
serializableBuilderClass() |
AssociateOpsItemRelatedItemRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String opsItemId()
The ID of the OpsItem to which you want to associate a resource as a related item.
public final String associationType()
The type of association that you want to create between an OpsItem and a resource. OpsCenter supports
IsParentOf
and RelatesTo
association types.
IsParentOf
and RelatesTo
association types.public final String resourceType()
The type of resource that you want to associate with an OpsItem. OpsCenter supports the following types:
AWS::SSMIncidents::IncidentRecord
: an Incident Manager incident.
AWS::SSM::Document
: a Systems Manager (SSM) document.
AWS::SSMIncidents::IncidentRecord
: an Incident Manager incident.
AWS::SSM::Document
: a Systems Manager (SSM) document.
public final String resourceUri()
The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.
public AssociateOpsItemRelatedItemRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AssociateOpsItemRelatedItemRequest.Builder,AssociateOpsItemRelatedItemRequest>
toBuilder
in class SsmRequest
public static AssociateOpsItemRelatedItemRequest.Builder builder()
public static Class<? extends AssociateOpsItemRelatedItemRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.