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 void setAllSupported(Boolean 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.
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()
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)
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.
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 isAllSupported()
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 List<String> getResourceTypes()
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.
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.ResourceType
public 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
). 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.ResourceType
public RecordingGroup withResourceTypes(String... 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.
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.
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.ResourceType
public 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
). 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.ResourceType
public RecordingGroup withResourceTypes(ResourceType... 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.
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.ResourceType
public String toString()
toString
in class Object
Object.toString()
public RecordingGroup clone()
Copyright © 2015. All rights reserved.