@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InclusionProtectionGroupFilters extends Object implements Serializable, Cloneable, StructuredPojo
Narrows the set of protection groups that the call retrieves. You can retrieve a single protection group by its name and you can retrieve all protection groups that are configured with a specific pattern, aggregation, or resource type. You can provide up to one criteria per filter type. Shield Advanced returns the protection groups that exactly match all of the search criteria that you provide.
Constructor and Description |
---|
InclusionProtectionGroupFilters() |
Modifier and Type | Method and Description |
---|---|
InclusionProtectionGroupFilters |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAggregations()
The aggregation setting of the protection groups that you want to retrieve.
|
List<String> |
getPatterns()
The pattern specification of the protection groups that you want to retrieve.
|
List<String> |
getProtectionGroupIds()
The ID of the protection group that you want to retrieve.
|
List<String> |
getResourceTypes()
The resource type configuration of the protection groups that you want to retrieve.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAggregations(Collection<String> aggregations)
The aggregation setting of the protection groups that you want to retrieve.
|
void |
setPatterns(Collection<String> patterns)
The pattern specification of the protection groups that you want to retrieve.
|
void |
setProtectionGroupIds(Collection<String> protectionGroupIds)
The ID of the protection group that you want to retrieve.
|
void |
setResourceTypes(Collection<String> resourceTypes)
The resource type configuration of the protection groups that you want to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
InclusionProtectionGroupFilters |
withAggregations(Collection<String> aggregations)
The aggregation setting of the protection groups that you want to retrieve.
|
InclusionProtectionGroupFilters |
withAggregations(ProtectionGroupAggregation... aggregations)
The aggregation setting of the protection groups that you want to retrieve.
|
InclusionProtectionGroupFilters |
withAggregations(String... aggregations)
The aggregation setting of the protection groups that you want to retrieve.
|
InclusionProtectionGroupFilters |
withPatterns(Collection<String> patterns)
The pattern specification of the protection groups that you want to retrieve.
|
InclusionProtectionGroupFilters |
withPatterns(ProtectionGroupPattern... patterns)
The pattern specification of the protection groups that you want to retrieve.
|
InclusionProtectionGroupFilters |
withPatterns(String... patterns)
The pattern specification of the protection groups that you want to retrieve.
|
InclusionProtectionGroupFilters |
withProtectionGroupIds(Collection<String> protectionGroupIds)
The ID of the protection group that you want to retrieve.
|
InclusionProtectionGroupFilters |
withProtectionGroupIds(String... protectionGroupIds)
The ID of the protection group that you want to retrieve.
|
InclusionProtectionGroupFilters |
withResourceTypes(Collection<String> resourceTypes)
The resource type configuration of the protection groups that you want to retrieve.
|
InclusionProtectionGroupFilters |
withResourceTypes(ProtectedResourceType... resourceTypes)
The resource type configuration of the protection groups that you want to retrieve.
|
InclusionProtectionGroupFilters |
withResourceTypes(String... resourceTypes)
The resource type configuration of the protection groups that you want to retrieve.
|
public List<String> getProtectionGroupIds()
The ID of the protection group that you want to retrieve.
public void setProtectionGroupIds(Collection<String> protectionGroupIds)
The ID of the protection group that you want to retrieve.
protectionGroupIds
- The ID of the protection group that you want to retrieve.public InclusionProtectionGroupFilters withProtectionGroupIds(String... protectionGroupIds)
The ID of the protection group that you want to retrieve.
NOTE: This method appends the values to the existing list (if any). Use
setProtectionGroupIds(java.util.Collection)
or withProtectionGroupIds(java.util.Collection)
if
you want to override the existing values.
protectionGroupIds
- The ID of the protection group that you want to retrieve.public InclusionProtectionGroupFilters withProtectionGroupIds(Collection<String> protectionGroupIds)
The ID of the protection group that you want to retrieve.
protectionGroupIds
- The ID of the protection group that you want to retrieve.public List<String> getPatterns()
The pattern specification of the protection groups that you want to retrieve.
ProtectionGroupPattern
public void setPatterns(Collection<String> patterns)
The pattern specification of the protection groups that you want to retrieve.
patterns
- The pattern specification of the protection groups that you want to retrieve.ProtectionGroupPattern
public InclusionProtectionGroupFilters withPatterns(String... patterns)
The pattern specification of the protection groups that you want to retrieve.
NOTE: This method appends the values to the existing list (if any). Use
setPatterns(java.util.Collection)
or withPatterns(java.util.Collection)
if you want to override
the existing values.
patterns
- The pattern specification of the protection groups that you want to retrieve.ProtectionGroupPattern
public InclusionProtectionGroupFilters withPatterns(Collection<String> patterns)
The pattern specification of the protection groups that you want to retrieve.
patterns
- The pattern specification of the protection groups that you want to retrieve.ProtectionGroupPattern
public InclusionProtectionGroupFilters withPatterns(ProtectionGroupPattern... patterns)
The pattern specification of the protection groups that you want to retrieve.
patterns
- The pattern specification of the protection groups that you want to retrieve.ProtectionGroupPattern
public List<String> getResourceTypes()
The resource type configuration of the protection groups that you want to retrieve. In the protection group
configuration, you specify the resource type when you set the group's Pattern
to
BY_RESOURCE_TYPE
.
Pattern
to
BY_RESOURCE_TYPE
.ProtectedResourceType
public void setResourceTypes(Collection<String> resourceTypes)
The resource type configuration of the protection groups that you want to retrieve. In the protection group
configuration, you specify the resource type when you set the group's Pattern
to
BY_RESOURCE_TYPE
.
resourceTypes
- The resource type configuration of the protection groups that you want to retrieve. In the protection
group configuration, you specify the resource type when you set the group's Pattern
to
BY_RESOURCE_TYPE
.ProtectedResourceType
public InclusionProtectionGroupFilters withResourceTypes(String... resourceTypes)
The resource type configuration of the protection groups that you want to retrieve. In the protection group
configuration, you specify the resource type when you set the group's Pattern
to
BY_RESOURCE_TYPE
.
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
- The resource type configuration of the protection groups that you want to retrieve. In the protection
group configuration, you specify the resource type when you set the group's Pattern
to
BY_RESOURCE_TYPE
.ProtectedResourceType
public InclusionProtectionGroupFilters withResourceTypes(Collection<String> resourceTypes)
The resource type configuration of the protection groups that you want to retrieve. In the protection group
configuration, you specify the resource type when you set the group's Pattern
to
BY_RESOURCE_TYPE
.
resourceTypes
- The resource type configuration of the protection groups that you want to retrieve. In the protection
group configuration, you specify the resource type when you set the group's Pattern
to
BY_RESOURCE_TYPE
.ProtectedResourceType
public InclusionProtectionGroupFilters withResourceTypes(ProtectedResourceType... resourceTypes)
The resource type configuration of the protection groups that you want to retrieve. In the protection group
configuration, you specify the resource type when you set the group's Pattern
to
BY_RESOURCE_TYPE
.
resourceTypes
- The resource type configuration of the protection groups that you want to retrieve. In the protection
group configuration, you specify the resource type when you set the group's Pattern
to
BY_RESOURCE_TYPE
.ProtectedResourceType
public List<String> getAggregations()
The aggregation setting of the protection groups that you want to retrieve.
ProtectionGroupAggregation
public void setAggregations(Collection<String> aggregations)
The aggregation setting of the protection groups that you want to retrieve.
aggregations
- The aggregation setting of the protection groups that you want to retrieve.ProtectionGroupAggregation
public InclusionProtectionGroupFilters withAggregations(String... aggregations)
The aggregation setting of the protection groups that you want to retrieve.
NOTE: This method appends the values to the existing list (if any). Use
setAggregations(java.util.Collection)
or withAggregations(java.util.Collection)
if you want to
override the existing values.
aggregations
- The aggregation setting of the protection groups that you want to retrieve.ProtectionGroupAggregation
public InclusionProtectionGroupFilters withAggregations(Collection<String> aggregations)
The aggregation setting of the protection groups that you want to retrieve.
aggregations
- The aggregation setting of the protection groups that you want to retrieve.ProtectionGroupAggregation
public InclusionProtectionGroupFilters withAggregations(ProtectionGroupAggregation... aggregations)
The aggregation setting of the protection groups that you want to retrieve.
aggregations
- The aggregation setting of the protection groups that you want to retrieve.ProtectionGroupAggregation
public String toString()
toString
in class Object
Object.toString()
public InclusionProtectionGroupFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.