Class ConfigurationRecorder
- java.lang.Object
-
- com.amazonaws.services.config.model.ConfigurationRecorder
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ConfigurationRecorder extends Object implements Serializable, Cloneable
An object that represents the recording of configuration changes of an AWS resource.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationRecorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationRecorder
clone()
boolean
equals(Object obj)
String
getName()
The name of the recorder.RecordingGroup
getRecordingGroup()
Specifies the types of AWS resource for which AWS Config records configuration changes.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)
Specifies the types of AWS resource for which AWS Config records configuration changes.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)
Specifies the types of AWS resource for which AWS Config records configuration changes.ConfigurationRecorder
withRoleARN(String roleARN)
Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account.
-
-
-
Method Detail
-
setName
public void setName(String 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.
- Parameters:
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.
-
getName
public String getName()
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.
- Returns:
- 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.
-
withName
public ConfigurationRecorder withName(String 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRoleARN
public void setRoleARN(String roleARN)
Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account.
- Parameters:
roleARN
- Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account.
-
getRoleARN
public String getRoleARN()
Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account.
- Returns:
- Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account.
-
withRoleARN
public ConfigurationRecorder withRoleARN(String roleARN)
Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account.
- Parameters:
roleARN
- Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources associated with the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRecordingGroup
public void setRecordingGroup(RecordingGroup recordingGroup)
Specifies the types of AWS resource for which AWS Config records configuration changes.
- Parameters:
recordingGroup
- Specifies the types of AWS resource for which AWS Config records configuration changes.
-
getRecordingGroup
public RecordingGroup getRecordingGroup()
Specifies the types of AWS resource for which AWS Config records configuration changes.
- Returns:
- Specifies the types of AWS resource for which AWS Config records configuration changes.
-
withRecordingGroup
public ConfigurationRecorder withRecordingGroup(RecordingGroup recordingGroup)
Specifies the types of AWS resource for which AWS Config records configuration changes.
- Parameters:
recordingGroup
- Specifies the types of AWS resource for which AWS Config records configuration changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ConfigurationRecorder clone()
-
-