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 ofrecordingModeOverrideobjects for you to specify your overrides for the recording mode.recordingModeOverrides(Consumer<RecordingModeOverride.Builder>... recordingModeOverrides) An array ofrecordingModeOverrideobjects for you to specify your overrides for the recording mode.recordingModeOverrides(RecordingModeOverride... recordingModeOverrides) An array ofrecordingModeOverrideobjects for you to specify your overrides for the recording 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, sdkFieldNameToField, sdkFields
-
Method Details
-
recordingFrequency
The default recording frequency that Config uses to record configuration changes.
Daily recording cannot be specified 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 cannot be specified 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 cannot be specified 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 cannot be specified 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
recordingModeOverrideobjects for you to specify your overrides for the recording mode. TherecordingModeOverrideobject in therecordingModeOverridesarray consists of three fields: adescription, the newrecordingFrequency, and an array ofresourceTypesto override.- Parameters:
recordingModeOverrides- An array ofrecordingModeOverrideobjects for you to specify your overrides for the recording mode. TherecordingModeOverrideobject in therecordingModeOverridesarray consists of three fields: adescription, the newrecordingFrequency, and an array ofresourceTypesto override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordingModeOverrides
An array of
recordingModeOverrideobjects for you to specify your overrides for the recording mode. TherecordingModeOverrideobject in therecordingModeOverridesarray consists of three fields: adescription, the newrecordingFrequency, and an array ofresourceTypesto override.- Parameters:
recordingModeOverrides- An array ofrecordingModeOverrideobjects for you to specify your overrides for the recording mode. TherecordingModeOverrideobject in therecordingModeOverridesarray consists of three fields: adescription, the newrecordingFrequency, and an array ofresourceTypesto 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 therecordingModeOverrideobjects for you to specify your overrides for the recording mode. TherecordingModeOverrideobject in therecordingModeOverridesarray consists of three fields: adescription, the newrecordingFrequency, and an array ofresourceTypesto override.RecordingModeOverride.Builderavoiding the need to create one manually viaRecordingModeOverride.builder().When the
Consumercompletes,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:
-