public class ListSecurityProfilesRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
 dimensionName and metricName cannot be used in the
 same request.
 
| Constructor and Description | 
|---|
| ListSecurityProfilesRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.String | getDimensionName()
 A filter to limit results to the security profiles that use the defined
 dimension. | 
| java.lang.Integer | getMaxResults()
 The maximum number of results to return at one time. | 
| java.lang.String | getMetricName()
 The name of the custom metric. | 
| java.lang.String | getNextToken()
 The token for the next set of results. | 
| int | hashCode() | 
| void | setDimensionName(java.lang.String dimensionName)
 A filter to limit results to the security profiles that use the defined
 dimension. | 
| void | setMaxResults(java.lang.Integer maxResults)
 The maximum number of results to return at one time. | 
| void | setMetricName(java.lang.String metricName)
 The name of the custom metric. | 
| void | setNextToken(java.lang.String nextToken)
 The token for the next set of results. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| ListSecurityProfilesRequest | withDimensionName(java.lang.String dimensionName)
 A filter to limit results to the security profiles that use the defined
 dimension. | 
| ListSecurityProfilesRequest | withMaxResults(java.lang.Integer maxResults)
 The maximum number of results to return at one time. | 
| ListSecurityProfilesRequest | withMetricName(java.lang.String metricName)
 The name of the custom metric. | 
| ListSecurityProfilesRequest | withNextToken(java.lang.String nextToken)
 The token for the next set of results. | 
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getNextToken()
The token for the next set of results.
The token for the next set of results.
public void setNextToken(java.lang.String nextToken)
The token for the next set of results.
nextToken - The token for the next set of results.
public ListSecurityProfilesRequest withNextToken(java.lang.String nextToken)
The token for the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token for the next set of results.
public java.lang.Integer getMaxResults()
The maximum number of results to return at one time.
 Constraints:
 Range: 1 - 250
The maximum number of results to return at one time.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
 Constraints:
 Range: 1 - 250
maxResults - The maximum number of results to return at one time.
public ListSecurityProfilesRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Range: 1 - 250
maxResults - The maximum number of results to return at one time.
public java.lang.String getDimensionName()
 A filter to limit results to the security profiles that use the defined
 dimension. Cannot be used with metricName
 
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
         A filter to limit results to the security profiles that use the
         defined dimension. Cannot be used with metricName
         
public void setDimensionName(java.lang.String dimensionName)
 A filter to limit results to the security profiles that use the defined
 dimension. Cannot be used with metricName
 
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
dimensionName - 
            A filter to limit results to the security profiles that use
            the defined dimension. Cannot be used with
            metricName
            
public ListSecurityProfilesRequest withDimensionName(java.lang.String dimensionName)
 A filter to limit results to the security profiles that use the defined
 dimension. Cannot be used with metricName
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
dimensionName - 
            A filter to limit results to the security profiles that use
            the defined dimension. Cannot be used with
            metricName
            
public java.lang.String getMetricName()
 The name of the custom metric. Cannot be used with
 dimensionName.
 
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
         The name of the custom metric. Cannot be used with
         dimensionName.
         
public void setMetricName(java.lang.String metricName)
 The name of the custom metric. Cannot be used with
 dimensionName.
 
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
metricName - 
            The name of the custom metric. Cannot be used with
            dimensionName.
            
public ListSecurityProfilesRequest withMetricName(java.lang.String metricName)
 The name of the custom metric. Cannot be used with
 dimensionName.
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9:_-]+
metricName - 
            The name of the custom metric. Cannot be used with
            dimensionName.
            
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.