Interface Ec2ConfigurationState.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Ec2ConfigurationState.Builder,,Ec2ConfigurationState> SdkBuilder<Ec2ConfigurationState.Builder,,Ec2ConfigurationState> SdkPojo
- Enclosing class:
Ec2ConfigurationState
@Mutable
@NotThreadSafe
public static interface Ec2ConfigurationState.Builder
extends SdkPojo, CopyableBuilder<Ec2ConfigurationState.Builder,Ec2ConfigurationState>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Ec2ConfigurationState.BuilderscanModeState(Consumer<Ec2ScanModeState.Builder> scanModeState) An object that contains details about the state of the Amazon EC2 scan mode.scanModeState(Ec2ScanModeState scanModeState) An object that contains details about the state of the Amazon EC2 scan mode.default Ec2ConfigurationState.BuildervmScannerState(Consumer<VMScannerState.Builder> vmScannerState) An object that contains details about the state of the Amazon Inspector VM scanner.vmScannerState(VMScannerState vmScannerState) An object that contains details about the state of the Amazon Inspector VM scanner.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
-
scanModeState
An object that contains details about the state of the Amazon EC2 scan mode.
- Parameters:
scanModeState- An object that contains details about the state of the Amazon EC2 scan mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanModeState
default Ec2ConfigurationState.Builder scanModeState(Consumer<Ec2ScanModeState.Builder> scanModeState) An object that contains details about the state of the Amazon EC2 scan mode.
This is a convenience method that creates an instance of theEc2ScanModeState.Builderavoiding the need to create one manually viaEc2ScanModeState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscanModeState(Ec2ScanModeState).- Parameters:
scanModeState- a consumer that will call methods onEc2ScanModeState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vmScannerState
An object that contains details about the state of the Amazon Inspector VM scanner.
- Parameters:
vmScannerState- An object that contains details about the state of the Amazon Inspector VM scanner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vmScannerState
default Ec2ConfigurationState.Builder vmScannerState(Consumer<VMScannerState.Builder> vmScannerState) An object that contains details about the state of the Amazon Inspector VM scanner.
This is a convenience method that creates an instance of theVMScannerState.Builderavoiding the need to create one manually viaVMScannerState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovmScannerState(VMScannerState).- Parameters:
vmScannerState- a consumer that will call methods onVMScannerState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-