Interface Ec2ConfigurationState.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Ec2ConfigurationState.Builder,,Ec2ConfigurationState> SdkBuilder<Ec2ConfigurationState.Builder,,Ec2ConfigurationState> SdkPojo
- Enclosing class:
Ec2ConfigurationState
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.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, 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:
-