Interface ScanConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ScanConfiguration.Builder,,ScanConfiguration> SdkBuilder<ScanConfiguration.Builder,,ScanConfiguration> SdkPojo
- Enclosing class:
ScanConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault ScanConfiguration.BuilderincrementalScanDetails(Consumer<IncrementalScanDetails.Builder> incrementalScanDetails) Information about the incremental scan configuration, if applicable.incrementalScanDetails(IncrementalScanDetails incrementalScanDetails) Information about the incremental scan configuration, if applicable.default ScanConfiguration.BuilderrecoveryPoint(Consumer<ScanConfigurationRecoveryPoint.Builder> recoveryPoint) Information about the recovery point configuration used for the scan, if applicable.recoveryPoint(ScanConfigurationRecoveryPoint recoveryPoint) Information about the recovery point configuration used for the scan, if applicable.Amazon Resource Name (ARN) of the IAM role that should contain the required permissions for the scan.default ScanConfiguration.BuildertriggerDetails(Consumer<TriggerDetails.Builder> triggerDetails) Information about the entity that triggered the malware scan.triggerDetails(TriggerDetails triggerDetails) Information about the entity that triggered the malware scan.Methods 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
-
role
Amazon Resource Name (ARN) of the IAM role that should contain the required permissions for the scan.
- Parameters:
role- Amazon Resource Name (ARN) of the IAM role that should contain the required permissions for the scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerDetails
Information about the entity that triggered the malware scan.
- Parameters:
triggerDetails- Information about the entity that triggered the malware scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerDetails
Information about the entity that triggered the malware scan.
This is a convenience method that creates an instance of theTriggerDetails.Builderavoiding the need to create one manually viaTriggerDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totriggerDetails(TriggerDetails).- Parameters:
triggerDetails- a consumer that will call methods onTriggerDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
incrementalScanDetails
Information about the incremental scan configuration, if applicable.
- Parameters:
incrementalScanDetails- Information about the incremental scan configuration, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incrementalScanDetails
default ScanConfiguration.Builder incrementalScanDetails(Consumer<IncrementalScanDetails.Builder> incrementalScanDetails) Information about the incremental scan configuration, if applicable.
This is a convenience method that creates an instance of theIncrementalScanDetails.Builderavoiding the need to create one manually viaIncrementalScanDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toincrementalScanDetails(IncrementalScanDetails).- Parameters:
incrementalScanDetails- a consumer that will call methods onIncrementalScanDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recoveryPoint
Information about the recovery point configuration used for the scan, if applicable.
- Parameters:
recoveryPoint- Information about the recovery point configuration used for the scan, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPoint
default ScanConfiguration.Builder recoveryPoint(Consumer<ScanConfigurationRecoveryPoint.Builder> recoveryPoint) Information about the recovery point configuration used for the scan, if applicable.
This is a convenience method that creates an instance of theScanConfigurationRecoveryPoint.Builderavoiding the need to create one manually viaScanConfigurationRecoveryPoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecoveryPoint(ScanConfigurationRecoveryPoint).- Parameters:
recoveryPoint- a consumer that will call methods onScanConfigurationRecoveryPoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-