Interface RecordingMode.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RecordingMode.Builder,
,RecordingMode> SdkBuilder<RecordingMode.Builder,
,RecordingMode> SdkPojo
- Enclosing class:
RecordingMode
-
Method Summary
Modifier and TypeMethodDescriptionrecordingFrequency
(String recordingFrequency) The default recording frequency that Config uses to record configuration changes.recordingFrequency
(RecordingFrequency recordingFrequency) The default recording frequency that Config uses to record configuration changes.recordingModeOverrides
(Collection<RecordingModeOverride> recordingModeOverrides) An array ofrecordingModeOverride
objects for you to specify your overrides for the recording mode.recordingModeOverrides
(Consumer<RecordingModeOverride.Builder>... recordingModeOverrides) An array ofrecordingModeOverride
objects for you to specify your overrides for the recording mode.recordingModeOverrides
(RecordingModeOverride... recordingModeOverrides) An array ofrecordingModeOverride
objects for you to specify your overrides for the recording 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 Details
-
recordingFrequency
The default recording frequency that Config uses to record configuration changes.
Daily recording is not supported for the following resource types:
-
AWS::Config::ResourceCompliance
-
AWS::Config::ConformancePackCompliance
-
AWS::Config::ConfigurationRecorder
For the allSupported (
ALL_SUPPORTED_RESOURCE_TYPES
) recording strategy, these resource types will be set to Continuous recording.- Parameters:
recordingFrequency
- The default recording frequency that Config uses to record configuration changes.Daily recording is not supported for the following resource types:
-
AWS::Config::ResourceCompliance
-
AWS::Config::ConformancePackCompliance
-
AWS::Config::ConfigurationRecorder
For the allSupported (
ALL_SUPPORTED_RESOURCE_TYPES
) recording strategy, these resource types will be set to Continuous recording.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
recordingFrequency
The default recording frequency that Config uses to record configuration changes.
Daily recording is not supported for the following resource types:
-
AWS::Config::ResourceCompliance
-
AWS::Config::ConformancePackCompliance
-
AWS::Config::ConfigurationRecorder
For the allSupported (
ALL_SUPPORTED_RESOURCE_TYPES
) recording strategy, these resource types will be set to Continuous recording.- Parameters:
recordingFrequency
- The default recording frequency that Config uses to record configuration changes.Daily recording is not supported for the following resource types:
-
AWS::Config::ResourceCompliance
-
AWS::Config::ConformancePackCompliance
-
AWS::Config::ConfigurationRecorder
For the allSupported (
ALL_SUPPORTED_RESOURCE_TYPES
) recording strategy, these resource types will be set to Continuous recording.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
recordingModeOverrides
RecordingMode.Builder recordingModeOverrides(Collection<RecordingModeOverride> recordingModeOverrides) An array of
recordingModeOverride
objects for you to specify your overrides for the recording mode. TherecordingModeOverride
object in therecordingModeOverrides
array consists of three fields: adescription
, the newrecordingFrequency
, and an array ofresourceTypes
to override.- Parameters:
recordingModeOverrides
- An array ofrecordingModeOverride
objects for you to specify your overrides for the recording mode. TherecordingModeOverride
object in therecordingModeOverrides
array consists of three fields: adescription
, the newrecordingFrequency
, and an array ofresourceTypes
to override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordingModeOverrides
An array of
recordingModeOverride
objects for you to specify your overrides for the recording mode. TherecordingModeOverride
object in therecordingModeOverrides
array consists of three fields: adescription
, the newrecordingFrequency
, and an array ofresourceTypes
to override.- Parameters:
recordingModeOverrides
- An array ofrecordingModeOverride
objects for you to specify your overrides for the recording mode. TherecordingModeOverride
object in therecordingModeOverrides
array consists of three fields: adescription
, the newrecordingFrequency
, and an array ofresourceTypes
to override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordingModeOverrides
RecordingMode.Builder recordingModeOverrides(Consumer<RecordingModeOverride.Builder>... recordingModeOverrides) An array of
This is a convenience method that creates an instance of therecordingModeOverride
objects for you to specify your overrides for the recording mode. TherecordingModeOverride
object in therecordingModeOverrides
array consists of three fields: adescription
, the newrecordingFrequency
, and an array ofresourceTypes
to override.RecordingModeOverride.Builder
avoiding the need to create one manually viaRecordingModeOverride.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecordingModeOverrides(List<RecordingModeOverride>)
.- Parameters:
recordingModeOverrides
- a consumer that will call methods onRecordingModeOverride.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-