Interface StartScanJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BackupRequest.Builder,Buildable,CopyableBuilder<StartScanJobRequest.Builder,,StartScanJobRequest> SdkBuilder<StartScanJobRequest.Builder,,StartScanJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartScanJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionbackupVaultName(String backupVaultName) The name of a logical container where backups are stored.iamRoleArn(String iamRoleArn) Specifies the IAM role ARN used to create the target recovery point; for example,arn:aws:iam::123456789012:role/S3Access.idempotencyToken(String idempotencyToken) A customer-chosen string that you can use to distinguish between otherwise identical calls toStartScanJob.malwareScanner(String malwareScanner) Specifies the malware scanner used during the scan job.malwareScanner(MalwareScanner malwareScanner) Specifies the malware scanner used during the scan job.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recoveryPointArn(String recoveryPointArn) An Amazon Resource Name (ARN) that uniquely identifies a recovery point.scanBaseRecoveryPointArn(String scanBaseRecoveryPointArn) An ARN that uniquely identifies the base recovery point to be used for incremental scanning.Specifies the scan type use for the scan job.Specifies the scan type use for the scan job.scannerRoleArn(String scannerRoleArn) Specified the IAM scanner role ARN.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.backup.model.BackupRequest.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
-
backupVaultName
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created.
Pattern:
^[a-zA-Z0-9\-\_]{2,50}$- Parameters:
backupVaultName- The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created.Pattern:
^[a-zA-Z0-9\-\_]{2,50}$- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoleArn
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access.- Parameters:
iamRoleArn- Specifies the IAM role ARN used to create the target recovery point; for example,arn:aws:iam::123456789012:role/S3Access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idempotencyToken
A customer-chosen string that you can use to distinguish between otherwise identical calls to
StartScanJob. Retrying a successful request with the same idempotency token results in a success message with no action taken.- Parameters:
idempotencyToken- A customer-chosen string that you can use to distinguish between otherwise identical calls toStartScanJob. Retrying a successful request with the same idempotency token results in a success message with no action taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
malwareScanner
Specifies the malware scanner used during the scan job. Currently only supports
GUARDDUTY.- Parameters:
malwareScanner- Specifies the malware scanner used during the scan job. Currently only supportsGUARDDUTY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
malwareScanner
Specifies the malware scanner used during the scan job. Currently only supports
GUARDDUTY.- Parameters:
malwareScanner- Specifies the malware scanner used during the scan job. Currently only supportsGUARDDUTY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recoveryPointArn
An Amazon Resource Name (ARN) that uniquely identifies a recovery point. This is your target recovery point for a full scan. If you are running an incremental scan, this will be your a recovery point which has been created after your base recovery point selection.
- Parameters:
recoveryPointArn- An Amazon Resource Name (ARN) that uniquely identifies a recovery point. This is your target recovery point for a full scan. If you are running an incremental scan, this will be your a recovery point which has been created after your base recovery point selection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanBaseRecoveryPointArn
An ARN that uniquely identifies the base recovery point to be used for incremental scanning.
- Parameters:
scanBaseRecoveryPointArn- An ARN that uniquely identifies the base recovery point to be used for incremental scanning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanMode
Specifies the scan type use for the scan job.
Includes:
-
FULL_SCANwill scan the entire data lineage within the backup. -
INCREMENTAL_SCANwill scan the data difference between the target recovery point and base recovery point ARN.
- Parameters:
scanMode- Specifies the scan type use for the scan job.Includes:
-
FULL_SCANwill scan the entire data lineage within the backup. -
INCREMENTAL_SCANwill scan the data difference between the target recovery point and base recovery point ARN.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
scanMode
Specifies the scan type use for the scan job.
Includes:
-
FULL_SCANwill scan the entire data lineage within the backup. -
INCREMENTAL_SCANwill scan the data difference between the target recovery point and base recovery point ARN.
- Parameters:
scanMode- Specifies the scan type use for the scan job.Includes:
-
FULL_SCANwill scan the entire data lineage within the backup. -
INCREMENTAL_SCANwill scan the data difference between the target recovery point and base recovery point ARN.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
scannerRoleArn
Specified the IAM scanner role ARN.
- Parameters:
scannerRoleArn- Specified the IAM scanner role ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartScanJobRequest.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
StartScanJobRequest.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.
-