Interface RecordingMode.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RecordingMode.Builder,RecordingMode>,SdkBuilder<RecordingMode.Builder,RecordingMode>,SdkPojo
- Enclosing class:
- RecordingMode
public static interface RecordingMode.Builder extends SdkPojo, CopyableBuilder<RecordingMode.Builder,RecordingMode>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecordingMode.BuilderrecordingFrequency(String recordingFrequency)The default recording frequency that Config uses to record configuration changes.RecordingMode.BuilderrecordingFrequency(RecordingFrequency recordingFrequency)The default recording frequency that Config uses to record configuration changes.RecordingMode.BuilderrecordingModeOverrides(Collection<RecordingModeOverride> recordingModeOverrides)An array ofrecordingModeOverrideobjects for you to specify your overrides for the recording mode.RecordingMode.BuilderrecordingModeOverrides(Consumer<RecordingModeOverride.Builder>... recordingModeOverrides)An array ofrecordingModeOverrideobjects for you to specify your overrides for the recording mode.RecordingMode.BuilderrecordingModeOverrides(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
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
-
recordingFrequency
RecordingMode.Builder recordingFrequency(String 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,RecordingFrequency
-
-
recordingFrequency
RecordingMode.Builder recordingFrequency(RecordingFrequency 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,RecordingFrequency
-
-
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
RecordingMode.Builder recordingModeOverrides(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
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 to#recordingModeOverrides(List.) - 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:
#recordingModeOverrides(java.util.Collection)
-
-