public class RecordingGroup extends Object implements Serializable, Cloneable
The group of AWS resource types that AWS Config records when starting the configuration recorder.
recordingGroup can have one and only one parameter. Choose either allSupported or resourceTypes .
| Constructor and Description |
|---|
RecordingGroup() |
| Modifier and Type | Method and Description |
|---|---|
RecordingGroup |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllSupported()
Records all supported resource types in the recording group.
|
List<String> |
getResourceTypes()
A comma-separated list of strings representing valid AWS resource
types (for example,
AWS::EC2::Instance or
AWS::CloudTrail::Trail). |
int |
hashCode() |
Boolean |
isAllSupported()
Records all supported resource types in the recording group.
|
void |
setAllSupported(Boolean allSupported)
Records all supported resource types in the recording group.
|
void |
setResourceTypes(Collection<String> resourceTypes)
A comma-separated list of strings representing valid AWS resource
types (for example,
AWS::EC2::Instance or
AWS::CloudTrail::Trail). |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RecordingGroup |
withAllSupported(Boolean allSupported)
Records all supported resource types in the recording group.
|
RecordingGroup |
withResourceTypes(Collection<String> resourceTypes)
A comma-separated list of strings representing valid AWS resource
types (for example,
AWS::EC2::Instance or
AWS::CloudTrail::Trail). |
RecordingGroup |
withResourceTypes(ResourceType... resourceTypes)
A comma-separated list of strings representing valid AWS resource
types (for example,
AWS::EC2::Instance or
AWS::CloudTrail::Trail). |
RecordingGroup |
withResourceTypes(String... resourceTypes)
A comma-separated list of strings representing valid AWS resource
types (for example,
AWS::EC2::Instance or
AWS::CloudTrail::Trail). |
public Boolean isAllSupported()
public void setAllSupported(Boolean allSupported)
allSupported - Records all supported resource types in the recording group. For a
list of supported resource types, see Supported
resource types. If you specify allSupported, you cannot
enumerate a list of resourceTypes.public RecordingGroup withAllSupported(Boolean allSupported)
Returns a reference to this object so that method calls can be chained together.
allSupported - Records all supported resource types in the recording group. For a
list of supported resource types, see Supported
resource types. If you specify allSupported, you cannot
enumerate a list of resourceTypes.public Boolean getAllSupported()
public List<String> getResourceTypes()
AWS::EC2::Instance or
AWS::CloudTrail::Trail). resourceTypes is only
valid if you have chosen not to select allSupported. For a list
of valid resourceTypes values, see the resourceType
Value column in the following topic: Supported
AWS Resource Types.AWS::EC2::Instance or
AWS::CloudTrail::Trail). resourceTypes is only
valid if you have chosen not to select allSupported. For a list
of valid resourceTypes values, see the resourceType
Value column in the following topic: Supported
AWS Resource Types.public void setResourceTypes(Collection<String> resourceTypes)
AWS::EC2::Instance or
AWS::CloudTrail::Trail). resourceTypes is only
valid if you have chosen not to select allSupported. For a list
of valid resourceTypes values, see the resourceType
Value column in the following topic: Supported
AWS Resource Types.resourceTypes - A comma-separated list of strings representing valid AWS resource
types (for example, AWS::EC2::Instance or
AWS::CloudTrail::Trail). resourceTypes is only
valid if you have chosen not to select allSupported. For a list
of valid resourceTypes values, see the resourceType
Value column in the following topic: Supported
AWS Resource Types.public RecordingGroup withResourceTypes(String... resourceTypes)
AWS::EC2::Instance or
AWS::CloudTrail::Trail). resourceTypes is only
valid if you have chosen not to select allSupported. For a list
of valid resourceTypes values, see the resourceType
Value column in the following topic: Supported
AWS Resource Types.
NOTE: This method appends the values to the existing list (if
any). Use setResourceTypes(java.util.Collection) or withResourceTypes(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
resourceTypes - A comma-separated list of strings representing valid AWS resource
types (for example, AWS::EC2::Instance or
AWS::CloudTrail::Trail). resourceTypes is only
valid if you have chosen not to select allSupported. For a list
of valid resourceTypes values, see the resourceType
Value column in the following topic: Supported
AWS Resource Types.public RecordingGroup withResourceTypes(Collection<String> resourceTypes)
AWS::EC2::Instance or
AWS::CloudTrail::Trail). resourceTypes is only
valid if you have chosen not to select allSupported. For a list
of valid resourceTypes values, see the resourceType
Value column in the following topic: Supported
AWS Resource Types.
Returns a reference to this object so that method calls can be chained together.
resourceTypes - A comma-separated list of strings representing valid AWS resource
types (for example, AWS::EC2::Instance or
AWS::CloudTrail::Trail). resourceTypes is only
valid if you have chosen not to select allSupported. For a list
of valid resourceTypes values, see the resourceType
Value column in the following topic: Supported
AWS Resource Types.public RecordingGroup withResourceTypes(ResourceType... resourceTypes)
AWS::EC2::Instance or
AWS::CloudTrail::Trail). resourceTypes is only
valid if you have chosen not to select allSupported. For a list
of valid resourceTypes values, see the resourceType
Value column in the following topic: Supported
AWS Resource Types.
Returns a reference to this object so that method calls can be chained together.
resourceTypes - A comma-separated list of strings representing valid AWS resource
types (for example, AWS::EC2::Instance or
AWS::CloudTrail::Trail). resourceTypes is only
valid if you have chosen not to select allSupported. For a list
of valid resourceTypes values, see the resourceType
Value column in the following topic: Supported
AWS Resource Types.public String toString()
toString in class ObjectObject.toString()public RecordingGroup clone()
Copyright © 2015. All rights reserved.