Interface CreatePackageDecisionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContinuumRequest.Builder,CopyableBuilder<CreatePackageDecisionRequest.Builder,,CreatePackageDecisionRequest> SdkBuilder<CreatePackageDecisionRequest.Builder,,CreatePackageDecisionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePackageDecisionRequest
@Mutable
@NotThreadSafe
public static interface CreatePackageDecisionRequest.Builder
extends ContinuumRequest.Builder, SdkPojo, CopyableBuilder<CreatePackageDecisionRequest.Builder,CreatePackageDecisionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Idempotency token.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The package URL (purl) of the package version to evaluate, such aspkg:npm/lodash@4.17.21.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
purl
The package URL (purl) of the package version to evaluate, such as
pkg:npm/lodash@4.17.21.- Parameters:
purl- The package URL (purl) of the package version to evaluate, such aspkg:npm/lodash@4.17.21.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Idempotency token. Generated SDKs fill it automatically. Within one hour, the same token with the same parameters returns the original decision, and the same token with different parameters returns ValidationException. Requests without a token are rejected with ValidationException.
- Parameters:
clientToken- Idempotency token. Generated SDKs fill it automatically. Within one hour, the same token with the same parameters returns the original decision, and the same token with different parameters returns ValidationException. Requests without a token are rejected with ValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePackageDecisionRequest.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
CreatePackageDecisionRequest.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.
-