Interface AssociateOpsItemRelatedItemRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateOpsItemRelatedItemRequest.Builder,,AssociateOpsItemRelatedItemRequest> SdkBuilder<AssociateOpsItemRelatedItemRequest.Builder,,AssociateOpsItemRelatedItemRequest> SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
- AssociateOpsItemRelatedItemRequest
@Mutable
@NotThreadSafe
public static interface AssociateOpsItemRelatedItemRequest.Builder
extends SsmRequest.Builder, SdkPojo, CopyableBuilder<AssociateOpsItemRelatedItemRequest.Builder,AssociateOpsItemRelatedItemRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassociationType(String associationType) The type of association that you want to create between an OpsItem and a resource.The ID of the OpsItem to which you want to associate a resource as a related item.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) resourceType(String resourceType) The type of resource that you want to associate with an OpsItem.resourceUri(String resourceUri) The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
opsItemId
The ID of the OpsItem to which you want to associate a resource as a related item.
- Parameters:
opsItemId- The ID of the OpsItem to which you want to associate a resource as a related item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationType
The type of association that you want to create between an OpsItem and a resource. OpsCenter supports
IsParentOfandRelatesToassociation types.- Parameters:
associationType- The type of association that you want to create between an OpsItem and a resource. OpsCenter supportsIsParentOfandRelatesToassociation types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
resourceUri
The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.
- Parameters:
resourceUri- The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateOpsItemRelatedItemRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssociateOpsItemRelatedItemRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-