Class AssociateOpsItemRelatedItemRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<AssociateOpsItemRelatedItemRequest.Builder,AssociateOpsItemRelatedItemRequest>

@Generated("software.amazon.awssdk:codegen") public final class AssociateOpsItemRelatedItemRequest extends SsmRequest implements ToCopyableBuilder<AssociateOpsItemRelatedItemRequest.Builder,AssociateOpsItemRelatedItemRequest>
  • Method Details

    • opsItemId

      public final String opsItemId()

      The ID of the OpsItem to which you want to associate a resource as a related item.

      Returns:
      The ID of the OpsItem to which you want to associate a resource as a related item.
    • associationType

      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.

      Returns:
      The type of association that you want to create between an OpsItem and a resource. OpsCenter supports IsParentOf and RelatesTo association types.
    • resourceType

      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.

      Returns:
      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.

    • resourceUri

      public final String resourceUri()

      The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.

      Returns:
      The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<AssociateOpsItemRelatedItemRequest.Builder,AssociateOpsItemRelatedItemRequest>
      Specified by:
      toBuilder in class SsmRequest
    • builder

    • serializableBuilderClass

      public static Class<? extends AssociateOpsItemRelatedItemRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo