Interface GetRemediationsV2Request.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetRemediationsV2Request.Builder,,GetRemediationsV2Request> SdkBuilder<GetRemediationsV2Request.Builder,,GetRemediationsV2Request> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
GetRemediationsV2Request
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetRemediationsV2Request.Builderfilters(Consumer<RemediationFilters.Builder> filters) Filters remediation targets based on a set of criteria.filters(RemediationFilters filters) Filters remediation targets based on a set of criteria.guidanceFormat(String guidanceFormat) The format of the remediation guidance examples to return.guidanceFormat(GuidanceFormat guidanceFormat) The format of the remediation guidance examples to return.maxResults(Integer maxResults) The maximum number of results to return.metadataUid(String metadataUid) The unique identifier (ID) of the Security Hub exposure finding, found under themetadata.uidfield of the finding.The token used to paginate the remediations target list returned.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.showGuidance(Boolean showGuidance) Specifies whether to show remediation target guidance.The unique identifier (ID) of an existing remediation target to return.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.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
targetUid
The unique identifier (ID) of an existing remediation target to return. Returns the single matching target. You can't use
TargetUidtogether withMetadataUidorFilters.- Parameters:
targetUid- The unique identifier (ID) of an existing remediation target to return. Returns the single matching target. You can't useTargetUidtogether withMetadataUidorFilters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataUid
The unique identifier (ID) of the Security Hub exposure finding, found under the
metadata.uidfield of the finding. Returns the remediation targets associated with that finding. You can't useMetadataUidtogether withTargetUidorFilters.- Parameters:
metadataUid- The unique identifier (ID) of the Security Hub exposure finding, found under themetadata.uidfield of the finding. Returns the remediation targets associated with that finding. You can't useMetadataUidtogether withTargetUidorFilters.- 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
Filterstogether withTargetUidorMetadataUid.- Parameters:
filters- Filters remediation targets based on a set of criteria. You can't useFilterstogether withTargetUidorMetadataUid.- 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
This is a convenience method that creates an instance of theFilterstogether withTargetUidorMetadataUid.RemediationFilters.Builderavoiding the need to create one manually viaRemediationFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(RemediationFilters).- Parameters:
filters- a consumer that will call methods onRemediationFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
The format of the remediation guidance examples to return. Valid values are
All,AwsCli,Cli,Python,Terraform,Cdk,CloudFormation,IaC, andTemplate. If you don't specify a value, all formats are returned. Applies only whenShowGuidanceistrue.- Parameters:
guidanceFormat- The format of the remediation guidance examples to return. Valid values areAll,AwsCli,Cli,Python,Terraform,Cdk,CloudFormation,IaC, andTemplate. If you don't specify a value, all formats are returned. Applies only whenShowGuidanceistrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
guidanceFormat
The format of the remediation guidance examples to return. Valid values are
All,AwsCli,Cli,Python,Terraform,Cdk,CloudFormation,IaC, andTemplate. If you don't specify a value, all formats are returned. Applies only whenShowGuidanceistrue.- Parameters:
guidanceFormat- The format of the remediation guidance examples to return. Valid values areAll,AwsCli,Cli,Python,Terraform,Cdk,CloudFormation,IaC, andTemplate. If you don't specify a value, all formats are returned. Applies only whenShowGuidanceistrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 toNULL. For subsequent calls, use theNextTokenvalue 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 toGetRemediationsV2, omit this parameter or set it toNULL. For subsequent calls, use theNextTokenvalue 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetRemediationsV2Request.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.
-