Interface AmiConfigurationState.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AmiConfigurationState.Builder,,AmiConfigurationState> SdkBuilder<AmiConfigurationState.Builder,,AmiConfigurationState> SdkPojo
- Enclosing class:
AmiConfigurationState
-
Method Summary
Modifier and TypeMethodDescriptioncreatedWithin(String createdWithin) Restricts scanning to AMIs that were created within the specified duration.createdWithin(AmiScanDuration createdWithin) Restricts scanning to AMIs that were created within the specified duration.lastLaunchedWithin(String lastLaunchedWithin) Restricts scanning to AMIs that were last launched within the specified duration.lastLaunchedWithin(AmiScanDuration lastLaunchedWithin) Restricts scanning to AMIs that were last launched within the specified duration.default AmiConfigurationState.BuilderscanModeConfiguration(Consumer<AmiScanModeConfiguration.Builder> scanModeConfiguration) The scan mode configuration that determines which AMIs are scanned.scanModeConfiguration(AmiScanModeConfiguration scanModeConfiguration) The scan mode configuration that determines which AMIs are scanned.The status of the AMI scan configuration.status(AmiConfigurationStatus status) The status of the AMI scan configuration.The date and time when the AMI scan configuration was last updated.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
-
lastLaunchedWithin
Restricts scanning to AMIs that were last launched within the specified duration.
- Parameters:
lastLaunchedWithin- Restricts scanning to AMIs that were last launched within the specified duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastLaunchedWithin
Restricts scanning to AMIs that were last launched within the specified duration.
- Parameters:
lastLaunchedWithin- Restricts scanning to AMIs that were last launched within the specified duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdWithin
Restricts scanning to AMIs that were created within the specified duration.
- Parameters:
createdWithin- Restricts scanning to AMIs that were created within the specified duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdWithin
Restricts scanning to AMIs that were created within the specified duration.
- Parameters:
createdWithin- Restricts scanning to AMIs that were created within the specified duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanModeConfiguration
The scan mode configuration that determines which AMIs are scanned.
- Parameters:
scanModeConfiguration- The scan mode configuration that determines which AMIs are scanned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanModeConfiguration
default AmiConfigurationState.Builder scanModeConfiguration(Consumer<AmiScanModeConfiguration.Builder> scanModeConfiguration) The scan mode configuration that determines which AMIs are scanned.
This is a convenience method that creates an instance of theAmiScanModeConfiguration.Builderavoiding the need to create one manually viaAmiScanModeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscanModeConfiguration(AmiScanModeConfiguration).- Parameters:
scanModeConfiguration- a consumer that will call methods onAmiScanModeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the AMI scan configuration.
- Parameters:
status- The status of the AMI scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the AMI scan configuration.
- Parameters:
status- The status of the AMI scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The date and time when the AMI scan configuration was last updated.
- Parameters:
updatedAt- The date and time when the AMI scan configuration was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-