@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecordingMode extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the default recording frequency that Config uses to record configuration changes. Config supports Continuous recording and Daily recording.
Continuous recording allows you to record configuration changes continuously whenever a change occurs.
Daily recording allows you to receive a configuration item (CI) representing the most recent state of your resources over the last 24-hour period, only if it’s different from the previous CI recorded.
Firewall Manager depends on continuous recording to monitor your resources. If you are using Firewall Manager, it is recommended that you set the recording frequency to Continuous.
You can also override the recording frequency for specific resource types.
Constructor and Description |
---|
RecordingMode() |
Modifier and Type | Method and Description |
---|---|
RecordingMode |
clone() |
boolean |
equals(Object obj) |
String |
getRecordingFrequency()
The default recording frequency that Config uses to record configuration changes.
|
List<RecordingModeOverride> |
getRecordingModeOverrides()
An array of
recordingModeOverride objects for you to specify your overrides for the recording mode. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRecordingFrequency(String recordingFrequency)
The default recording frequency that Config uses to record configuration changes.
|
void |
setRecordingModeOverrides(Collection<RecordingModeOverride> recordingModeOverrides)
An array of
recordingModeOverride objects for you to specify your overrides for the recording mode. |
String |
toString()
Returns a string representation of this object.
|
RecordingMode |
withRecordingFrequency(RecordingFrequency recordingFrequency)
The default recording frequency that Config uses to record configuration changes.
|
RecordingMode |
withRecordingFrequency(String recordingFrequency)
The default recording frequency that Config uses to record configuration changes.
|
RecordingMode |
withRecordingModeOverrides(Collection<RecordingModeOverride> recordingModeOverrides)
An array of
recordingModeOverride objects for you to specify your overrides for the recording mode. |
RecordingMode |
withRecordingModeOverrides(RecordingModeOverride... recordingModeOverrides)
An array of
recordingModeOverride objects for you to specify your overrides for the recording mode. |
public void setRecordingFrequency(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.
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.
RecordingFrequency
public String getRecordingFrequency()
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.
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.
RecordingFrequency
public RecordingMode withRecordingFrequency(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.
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.
RecordingFrequency
public RecordingMode withRecordingFrequency(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.
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.
RecordingFrequency
public List<RecordingModeOverride> getRecordingModeOverrides()
An array of recordingModeOverride
objects for you to specify your overrides for the recording mode.
The recordingModeOverride
object in the recordingModeOverrides
array consists of three
fields: a description
, the new recordingFrequency
, and an array of
resourceTypes
to override.
recordingModeOverride
objects for you to specify your overrides for the
recording mode. The recordingModeOverride
object in the recordingModeOverrides
array consists of three fields: a description
, the new recordingFrequency
, and
an array of resourceTypes
to override.public void setRecordingModeOverrides(Collection<RecordingModeOverride> recordingModeOverrides)
An array of recordingModeOverride
objects for you to specify your overrides for the recording mode.
The recordingModeOverride
object in the recordingModeOverrides
array consists of three
fields: a description
, the new recordingFrequency
, and an array of
resourceTypes
to override.
recordingModeOverrides
- An array of recordingModeOverride
objects for you to specify your overrides for the recording
mode. The recordingModeOverride
object in the recordingModeOverrides
array
consists of three fields: a description
, the new recordingFrequency
, and an
array of resourceTypes
to override.public RecordingMode withRecordingModeOverrides(RecordingModeOverride... recordingModeOverrides)
An array of recordingModeOverride
objects for you to specify your overrides for the recording mode.
The recordingModeOverride
object in the recordingModeOverrides
array consists of three
fields: a description
, the new recordingFrequency
, and an array of
resourceTypes
to override.
NOTE: This method appends the values to the existing list (if any). Use
setRecordingModeOverrides(java.util.Collection)
or
withRecordingModeOverrides(java.util.Collection)
if you want to override the existing values.
recordingModeOverrides
- An array of recordingModeOverride
objects for you to specify your overrides for the recording
mode. The recordingModeOverride
object in the recordingModeOverrides
array
consists of three fields: a description
, the new recordingFrequency
, and an
array of resourceTypes
to override.public RecordingMode withRecordingModeOverrides(Collection<RecordingModeOverride> recordingModeOverrides)
An array of recordingModeOverride
objects for you to specify your overrides for the recording mode.
The recordingModeOverride
object in the recordingModeOverrides
array consists of three
fields: a description
, the new recordingFrequency
, and an array of
resourceTypes
to override.
recordingModeOverrides
- An array of recordingModeOverride
objects for you to specify your overrides for the recording
mode. The recordingModeOverride
object in the recordingModeOverrides
array
consists of three fields: a description
, the new recordingFrequency
, and an
array of resourceTypes
to override.public String toString()
toString
in class Object
Object.toString()
public RecordingMode clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.