Interface GetRemediationsV2Request.Builder

  • Method Details

    • targetUid

      The unique identifier (ID) of an existing remediation target to return. Returns the single matching target. You can't use TargetUid together with MetadataUid or Filters.

      Parameters:
      targetUid - The unique identifier (ID) of an existing remediation target to return. Returns the single matching target. You can't use TargetUid together with MetadataUid or Filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadataUid

      GetRemediationsV2Request.Builder metadataUid(String metadataUid)

      The unique identifier (ID) of the Security Hub exposure finding, found under the metadata.uid field of the finding. Returns the remediation targets associated with that finding. You can't use MetadataUid together with TargetUid or Filters.

      Parameters:
      metadataUid - The unique identifier (ID) of the Security Hub exposure finding, found under the metadata.uid field of the finding. Returns the remediation targets associated with that finding. You can't use MetadataUid together with TargetUid or Filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Filters remediation targets based on a set of criteria. You can't use Filters together with TargetUid or MetadataUid.

      Parameters:
      filters - Filters remediation targets based on a set of criteria. You can't use Filters together with TargetUid or MetadataUid.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Filters remediation targets based on a set of criteria. You can't use Filters together with TargetUid or MetadataUid.

      This is a convenience method that creates an instance of the RemediationFilters.Builder avoiding the need to create one manually via RemediationFilters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(RemediationFilters).

      Parameters:
      filters - a consumer that will call methods on RemediationFilters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • showGuidance

      GetRemediationsV2Request.Builder showGuidance(Boolean showGuidance)

      Specifies whether to show remediation target guidance.

      Parameters:
      showGuidance - Specifies whether to show remediation target guidance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • guidanceFormat

      GetRemediationsV2Request.Builder guidanceFormat(String guidanceFormat)

      The format of the remediation guidance examples to return. Valid values are All, AwsCli, Cli, Python, Terraform, Cdk, CloudFormation, IaC, and Template. If you don't specify a value, all formats are returned. Applies only when ShowGuidance is true.

      Parameters:
      guidanceFormat - The format of the remediation guidance examples to return. Valid values are All, AwsCli, Cli, Python, Terraform, Cdk, CloudFormation, IaC, and Template. If you don't specify a value, all formats are returned. Applies only when ShowGuidance is true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • guidanceFormat

      GetRemediationsV2Request.Builder guidanceFormat(GuidanceFormat guidanceFormat)

      The format of the remediation guidance examples to return. Valid values are All, AwsCli, Cli, Python, Terraform, Cdk, CloudFormation, IaC, and Template. If you don't specify a value, all formats are returned. Applies only when ShowGuidance is true.

      Parameters:
      guidanceFormat - The format of the remediation guidance examples to return. Valid values are All, AwsCli, Cli, Python, Terraform, Cdk, CloudFormation, IaC, and Template. If you don't specify a value, all formats are returned. Applies only when ShowGuidance is true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxResults

      GetRemediationsV2Request.Builder maxResults(Integer maxResults)

      The maximum number of results to return. Valid range is 1-100. If you don't specify a value, the operation returns up to 25 results.

      Parameters:
      maxResults - The maximum number of results to return. Valid range is 1-100. If you don't specify a value, the operation returns up to 25 results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      The token used to paginate the remediations target list returned. On your first call to GetRemediationsV2, omit this parameter or set it to NULL. For subsequent calls, use the NextToken value returned in the previous response to retrieve the next page of results.

      Parameters:
      nextToken - The token used to paginate the remediations target list returned. On your first call to GetRemediationsV2, omit this parameter or set it to NULL. For subsequent calls, use the NextToken value returned in the previous response to retrieve the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      GetRemediationsV2Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.