Class AssociateOpsItemRelatedItemRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.ssm.model.SsmRequest
software.amazon.awssdk.services.ssm.model.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>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe type of association that you want to create between an OpsItem and a resource.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ID of the OpsItem to which you want to associate a resource as a related item.final StringThe type of resource that you want to associate with an OpsItem.final StringThe Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.static Class<? extends AssociateOpsItemRelatedItemRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
The type of association that you want to create between an OpsItem and a resource. OpsCenter supports
IsParentOfandRelatesToassociation types.- Returns:
- The type of association that you want to create between an OpsItem and a resource. OpsCenter supports
IsParentOfandRelatesToassociation types.
-
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
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:
toBuilderin interfaceToCopyableBuilder<AssociateOpsItemRelatedItemRequest.Builder,AssociateOpsItemRelatedItemRequest> - Specified by:
toBuilderin classSsmRequest
-
builder
-
serializableBuilderClass
public static Class<? extends AssociateOpsItemRelatedItemRequest.Builder> serializableBuilderClass() -
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-