Interface GetRecommendedPolicyV2Request.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetRecommendedPolicyV2Request.Builder,,GetRecommendedPolicyV2Request> SdkBuilder<GetRecommendedPolicyV2Request.Builder,,GetRecommendedPolicyV2Request> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
GetRecommendedPolicyV2Request
@Mutable
@NotThreadSafe
public static interface GetRecommendedPolicyV2Request.Builder
extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<GetRecommendedPolicyV2Request.Builder,GetRecommendedPolicyV2Request>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of recommendation steps to return.metadataUid(String metadataUid) The unique identifier (ID) of Security Hub OCSF findings found under themetadata.uidfield of the finding.The token used to paginate theRecommendationStepslist returned.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
metadataUid
The unique identifier (ID) of Security Hub OCSF findings found under the
metadata.uidfield of the finding.- Parameters:
metadataUid- The unique identifier (ID) of Security Hub OCSF findings found under themetadata.uidfield of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token used to paginate the
RecommendationStepslist returned. On your first call toGetRecommendedPolicyV2, 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 theRecommendationStepslist returned. On your first call toGetRecommendedPolicyV2, 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.
-
maxResults
The maximum number of recommendation steps to return.
- Parameters:
maxResults- The maximum number of recommendation steps to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetRecommendedPolicyV2Request.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
GetRecommendedPolicyV2Request.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.
-