public class ConfigurationRecorder extends Object implements Serializable, Cloneable
An object that represents the recording of configuration changes of an AWS resource.
Constructor and Description |
---|
ConfigurationRecorder() |
Modifier and Type | Method and Description |
---|---|
ConfigurationRecorder |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the recorder.
|
RecordingGroup |
getRecordingGroup()
The recording group specifies either to record configurations for all
supported resources or to provide a list of resource types to record.
|
String |
getRoleARN()
Amazon Resource Name (ARN) of the IAM role used to describe the AWS
resources associated with the account.
|
int |
hashCode() |
void |
setName(String name)
The name of the recorder.
|
void |
setRecordingGroup(RecordingGroup recordingGroup)
The recording group specifies either to record configurations for all
supported resources or to provide a list of resource types to record.
|
void |
setRoleARN(String roleARN)
Amazon Resource Name (ARN) of the IAM role used to describe the AWS
resources associated with the account.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfigurationRecorder |
withName(String name)
The name of the recorder.
|
ConfigurationRecorder |
withRecordingGroup(RecordingGroup recordingGroup)
The recording group specifies either to record configurations for all
supported resources or to provide a list of resource types to record.
|
ConfigurationRecorder |
withRoleARN(String roleARN)
Amazon Resource Name (ARN) of the IAM role used to describe the AWS
resources associated with the account.
|
public String getName()
Constraints:
Length: 1 - 256
public void setName(String name)
Constraints:
Length: 1 - 256
name
- The name of the recorder. By default, AWS Config automatically assigns
the name "default" when creating the configuration recorder. You
cannot change the assigned name.public ConfigurationRecorder withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
name
- The name of the recorder. By default, AWS Config automatically assigns
the name "default" when creating the configuration recorder. You
cannot change the assigned name.public String getRoleARN()
public void setRoleARN(String roleARN)
roleARN
- Amazon Resource Name (ARN) of the IAM role used to describe the AWS
resources associated with the account.public ConfigurationRecorder withRoleARN(String roleARN)
Returns a reference to this object so that method calls can be chained together.
roleARN
- Amazon Resource Name (ARN) of the IAM role used to describe the AWS
resources associated with the account.public RecordingGroup getRecordingGroup()
public void setRecordingGroup(RecordingGroup recordingGroup)
recordingGroup
- The recording group specifies either to record configurations for all
supported resources or to provide a list of resource types to record.
The list of resource types must be a subset of supported resource
types.public ConfigurationRecorder withRecordingGroup(RecordingGroup recordingGroup)
Returns a reference to this object so that method calls can be chained together.
recordingGroup
- The recording group specifies either to record configurations for all
supported resources or to provide a list of resource types to record.
The list of resource types must be a subset of supported resource
types.public String toString()
toString
in class Object
Object.toString()
public ConfigurationRecorder clone()
Copyright © 2015. All rights reserved.