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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Ec2ConfigurationState.BuilderscanModeState(Consumer<Ec2ScanModeState.Builder> scanModeState)An object that contains details about the state of the Amazon EC2 scan mode.Ec2ConfigurationState.BuilderscanModeState(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
scanModeState
Ec2ConfigurationState.Builder scanModeState(Ec2ScanModeState 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:
scanModeState(Ec2ScanModeState)
-
-