Interface StartOnDemandScanRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartOnDemandScanRequest.Builder,,StartOnDemandScanRequest> Inspector2Request.Builder,SdkBuilder<StartOnDemandScanRequest.Builder,,StartOnDemandScanRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartOnDemandScanRequest
@Mutable
@NotThreadSafe
public static interface StartOnDemandScanRequest.Builder
extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<StartOnDemandScanRequest.Builder,StartOnDemandScanRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceId(String resourceId) The ID of the resource to scan on demand.resourceType(String resourceType) The type of the resource to scan on demand.resourceType(OnDemandResourceType resourceType) The type of the resource to scan on demand.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.services.inspector2.model.Inspector2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceId
The ID of the resource to scan on demand.
- Parameters:
resourceId- The ID of the resource to scan on demand.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of the resource to scan on demand.
- Parameters:
resourceType- The type of the resource to scan on demand.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of the resource to scan on demand.
- Parameters:
resourceType- The type of the resource to scan on demand.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartOnDemandScanRequest.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
StartOnDemandScanRequest.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.
-