@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExclusionByResourceTypes extends Object implements Serializable, Cloneable, StructuredPojo
Specifies whether the configuration recorder excludes resource types from being recorded. Use the
resourceTypes field to enter a comma-separated list of resource types to exclude as exemptions.
| Constructor and Description |
|---|
ExclusionByResourceTypes() |
| Modifier and Type | Method and Description |
|---|---|
ExclusionByResourceTypes |
clone() |
boolean |
equals(Object obj) |
List<String> |
getResourceTypes()
A comma-separated list of resource types to exclude from recording by the configuration recorder.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setResourceTypes(Collection<String> resourceTypes)
A comma-separated list of resource types to exclude from recording by the configuration recorder.
|
String |
toString()
Returns a string representation of this object.
|
ExclusionByResourceTypes |
withResourceTypes(Collection<String> resourceTypes)
A comma-separated list of resource types to exclude from recording by the configuration recorder.
|
ExclusionByResourceTypes |
withResourceTypes(ResourceType... resourceTypes)
A comma-separated list of resource types to exclude from recording by the configuration recorder.
|
ExclusionByResourceTypes |
withResourceTypes(String... resourceTypes)
A comma-separated list of resource types to exclude from recording by the configuration recorder.
|
public List<String> getResourceTypes()
A comma-separated list of resource types to exclude from recording by the configuration recorder.
ResourceTypepublic void setResourceTypes(Collection<String> resourceTypes)
A comma-separated list of resource types to exclude from recording by the configuration recorder.
resourceTypes - A comma-separated list of resource types to exclude from recording by the configuration recorder.ResourceTypepublic ExclusionByResourceTypes withResourceTypes(String... resourceTypes)
A comma-separated list of resource types to exclude from recording by the configuration recorder.
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 resource types to exclude from recording by the configuration recorder.ResourceTypepublic ExclusionByResourceTypes withResourceTypes(Collection<String> resourceTypes)
A comma-separated list of resource types to exclude from recording by the configuration recorder.
resourceTypes - A comma-separated list of resource types to exclude from recording by the configuration recorder.ResourceTypepublic ExclusionByResourceTypes withResourceTypes(ResourceType... resourceTypes)
A comma-separated list of resource types to exclude from recording by the configuration recorder.
resourceTypes - A comma-separated list of resource types to exclude from recording by the configuration recorder.ResourceTypepublic String toString()
toString in class ObjectObject.toString()public ExclusionByResourceTypes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.