@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateProtectionGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| UpdateProtectionGroupRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdateProtectionGroupRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getAggregation()
 Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events. | 
| List<String> | getMembers()
 The Amazon Resource Names (ARNs) of the resources to include in the protection group. | 
| String | getPattern()
 The criteria to use to choose the protected resources for inclusion in the group. | 
| String | getProtectionGroupId()
 The name of the protection group. | 
| String | getResourceType()
 The resource type to include in the protection group. | 
| int | hashCode() | 
| void | setAggregation(String aggregation)
 Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events. | 
| void | setMembers(Collection<String> members)
 The Amazon Resource Names (ARNs) of the resources to include in the protection group. | 
| void | setPattern(String pattern)
 The criteria to use to choose the protected resources for inclusion in the group. | 
| void | setProtectionGroupId(String protectionGroupId)
 The name of the protection group. | 
| void | setResourceType(String resourceType)
 The resource type to include in the protection group. | 
| String | toString()Returns a string representation of this object. | 
| UpdateProtectionGroupRequest | withAggregation(ProtectionGroupAggregation aggregation)
 Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events. | 
| UpdateProtectionGroupRequest | withAggregation(String aggregation)
 Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events. | 
| UpdateProtectionGroupRequest | withMembers(Collection<String> members)
 The Amazon Resource Names (ARNs) of the resources to include in the protection group. | 
| UpdateProtectionGroupRequest | withMembers(String... members)
 The Amazon Resource Names (ARNs) of the resources to include in the protection group. | 
| UpdateProtectionGroupRequest | withPattern(ProtectionGroupPattern pattern)
 The criteria to use to choose the protected resources for inclusion in the group. | 
| UpdateProtectionGroupRequest | withPattern(String pattern)
 The criteria to use to choose the protected resources for inclusion in the group. | 
| UpdateProtectionGroupRequest | withProtectionGroupId(String protectionGroupId)
 The name of the protection group. | 
| UpdateProtectionGroupRequest | withResourceType(ProtectedResourceType resourceType)
 The resource type to include in the protection group. | 
| UpdateProtectionGroupRequest | withResourceType(String resourceType)
 The resource type to include in the protection group. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setProtectionGroupId(String protectionGroupId)
The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.
protectionGroupId - The name of the protection group. You use this to identify the protection group in lists and to manage the
        protection group, for example to update, delete, or describe it.public String getProtectionGroupId()
The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.
public UpdateProtectionGroupRequest withProtectionGroupId(String protectionGroupId)
The name of the protection group. You use this to identify the protection group in lists and to manage the protection group, for example to update, delete, or describe it.
protectionGroupId - The name of the protection group. You use this to identify the protection group in lists and to manage the
        protection group, for example to update, delete, or describe it.public void setAggregation(String aggregation)
Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.
Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include CloudFront distributions and origin resources for CloudFront distributions.
aggregation - Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report
        events.
        Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include CloudFront distributions and origin resources for CloudFront distributions.
ProtectionGroupAggregationpublic String getAggregation()
Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.
Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include CloudFront distributions and origin resources for CloudFront distributions.
Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include CloudFront distributions and origin resources for CloudFront distributions.
ProtectionGroupAggregationpublic UpdateProtectionGroupRequest withAggregation(String aggregation)
Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.
Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include CloudFront distributions and origin resources for CloudFront distributions.
aggregation - Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report
        events.
        Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include CloudFront distributions and origin resources for CloudFront distributions.
ProtectionGroupAggregationpublic UpdateProtectionGroupRequest withAggregation(ProtectionGroupAggregation aggregation)
Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report events.
Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include CloudFront distributions and origin resources for CloudFront distributions.
aggregation - Defines how AWS Shield combines resource data for the group in order to detect, mitigate, and report
        events.
        Sum - Use the total traffic across the group. This is a good choice for most cases. Examples include Elastic IP addresses for EC2 instances that scale manually or automatically.
Mean - Use the average of the traffic across the group. This is a good choice for resources that share traffic uniformly. Examples include accelerators and load balancers.
Max - Use the highest traffic from each resource. This is useful for resources that don't share traffic and for resources that share that traffic in a non-uniform way. Examples include CloudFront distributions and origin resources for CloudFront distributions.
ProtectionGroupAggregationpublic void setPattern(String pattern)
The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.
pattern - The criteria to use to choose the protected resources for inclusion in the group. You can include all
        resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all
        resources of a specified resource type.ProtectionGroupPatternpublic String getPattern()
The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.
ProtectionGroupPatternpublic UpdateProtectionGroupRequest withPattern(String pattern)
The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.
pattern - The criteria to use to choose the protected resources for inclusion in the group. You can include all
        resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all
        resources of a specified resource type.ProtectionGroupPatternpublic UpdateProtectionGroupRequest withPattern(ProtectionGroupPattern pattern)
The criteria to use to choose the protected resources for inclusion in the group. You can include all resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all resources of a specified resource type.
pattern - The criteria to use to choose the protected resources for inclusion in the group. You can include all
        resources that have protections, provide a list of resource Amazon Resource Names (ARNs), or include all
        resources of a specified resource type.ProtectionGroupPatternpublic void setResourceType(String resourceType)
 The resource type to include in the protection group. All protected resources of this type are included in the
 protection group. You must set this when you set Pattern to BY_RESOURCE_TYPE and you
 must not set it for any other Pattern setting.
 
resourceType - The resource type to include in the protection group. All protected resources of this type are included in
        the protection group. You must set this when you set Pattern to BY_RESOURCE_TYPE
        and you must not set it for any other Pattern setting.ProtectedResourceTypepublic String getResourceType()
 The resource type to include in the protection group. All protected resources of this type are included in the
 protection group. You must set this when you set Pattern to BY_RESOURCE_TYPE and you
 must not set it for any other Pattern setting.
 
Pattern to
         BY_RESOURCE_TYPE and you must not set it for any other Pattern setting.ProtectedResourceTypepublic UpdateProtectionGroupRequest withResourceType(String resourceType)
 The resource type to include in the protection group. All protected resources of this type are included in the
 protection group. You must set this when you set Pattern to BY_RESOURCE_TYPE and you
 must not set it for any other Pattern setting.
 
resourceType - The resource type to include in the protection group. All protected resources of this type are included in
        the protection group. You must set this when you set Pattern to BY_RESOURCE_TYPE
        and you must not set it for any other Pattern setting.ProtectedResourceTypepublic UpdateProtectionGroupRequest withResourceType(ProtectedResourceType resourceType)
 The resource type to include in the protection group. All protected resources of this type are included in the
 protection group. You must set this when you set Pattern to BY_RESOURCE_TYPE and you
 must not set it for any other Pattern setting.
 
resourceType - The resource type to include in the protection group. All protected resources of this type are included in
        the protection group. You must set this when you set Pattern to BY_RESOURCE_TYPE
        and you must not set it for any other Pattern setting.ProtectedResourceTypepublic List<String> getMembers()
 The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you
 set Pattern to ARBITRARY and you must not set it for any other Pattern
 setting.
 
Pattern to ARBITRARY and you must not set it for any other
         Pattern setting.public void setMembers(Collection<String> members)
 The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you
 set Pattern to ARBITRARY and you must not set it for any other Pattern
 setting.
 
members - The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this
        when you set Pattern to ARBITRARY and you must not set it for any other
        Pattern setting.public UpdateProtectionGroupRequest withMembers(String... members)
 The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you
 set Pattern to ARBITRARY and you must not set it for any other Pattern
 setting.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setMembers(java.util.Collection) or withMembers(java.util.Collection) if you want to override
 the existing values.
 
members - The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this
        when you set Pattern to ARBITRARY and you must not set it for any other
        Pattern setting.public UpdateProtectionGroupRequest withMembers(Collection<String> members)
 The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this when you
 set Pattern to ARBITRARY and you must not set it for any other Pattern
 setting.
 
members - The Amazon Resource Names (ARNs) of the resources to include in the protection group. You must set this
        when you set Pattern to ARBITRARY and you must not set it for any other
        Pattern setting.public String toString()
toString in class ObjectObject.toString()public UpdateProtectionGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()