Interface AssociateOpsItemRelatedItemRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateOpsItemRelatedItemRequest.Builder,,AssociateOpsItemRelatedItemRequest> SdkBuilder<AssociateOpsItemRelatedItemRequest.Builder,,AssociateOpsItemRelatedItemRequest> SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
AssociateOpsItemRelatedItemRequest
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) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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, 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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateOpsItemRelatedItemRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-