@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetProtectionStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetProtectionStatusRequest() |
Modifier and Type | Method and Description |
---|---|
GetProtectionStatusRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndTime()
The end of the time period to query for the attacks.
|
Integer |
getMaxResults()
Specifies the number of objects that you want Firewall Manager to return for this request.
|
String |
getMemberAccountId()
The Amazon Web Services account that is in scope of the policy that you want to get the details for.
|
String |
getNextToken()
If you specify a value for
MaxResults and you have more objects than the number that you specify for
MaxResults , Firewall Manager returns a NextToken value in the response, which you can
use to retrieve another group of objects. |
String |
getPolicyId()
The ID of the policy for which you want to get the attack information.
|
Date |
getStartTime()
The start of the time period to query for the attacks.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The end of the time period to query for the attacks.
|
void |
setMaxResults(Integer maxResults)
Specifies the number of objects that you want Firewall Manager to return for this request.
|
void |
setMemberAccountId(String memberAccountId)
The Amazon Web Services account that is in scope of the policy that you want to get the details for.
|
void |
setNextToken(String nextToken)
If you specify a value for
MaxResults and you have more objects than the number that you specify for
MaxResults , Firewall Manager returns a NextToken value in the response, which you can
use to retrieve another group of objects. |
void |
setPolicyId(String policyId)
The ID of the policy for which you want to get the attack information.
|
void |
setStartTime(Date startTime)
The start of the time period to query for the attacks.
|
String |
toString()
Returns a string representation of this object.
|
GetProtectionStatusRequest |
withEndTime(Date endTime)
The end of the time period to query for the attacks.
|
GetProtectionStatusRequest |
withMaxResults(Integer maxResults)
Specifies the number of objects that you want Firewall Manager to return for this request.
|
GetProtectionStatusRequest |
withMemberAccountId(String memberAccountId)
The Amazon Web Services account that is in scope of the policy that you want to get the details for.
|
GetProtectionStatusRequest |
withNextToken(String nextToken)
If you specify a value for
MaxResults and you have more objects than the number that you specify for
MaxResults , Firewall Manager returns a NextToken value in the response, which you can
use to retrieve another group of objects. |
GetProtectionStatusRequest |
withPolicyId(String policyId)
The ID of the policy for which you want to get the attack information.
|
GetProtectionStatusRequest |
withStartTime(Date startTime)
The start of the time period to query for the attacks.
|
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, withSdkRequestTimeout
public void setPolicyId(String policyId)
The ID of the policy for which you want to get the attack information.
policyId
- The ID of the policy for which you want to get the attack information.public String getPolicyId()
The ID of the policy for which you want to get the attack information.
public GetProtectionStatusRequest withPolicyId(String policyId)
The ID of the policy for which you want to get the attack information.
policyId
- The ID of the policy for which you want to get the attack information.public void setMemberAccountId(String memberAccountId)
The Amazon Web Services account that is in scope of the policy that you want to get the details for.
memberAccountId
- The Amazon Web Services account that is in scope of the policy that you want to get the details for.public String getMemberAccountId()
The Amazon Web Services account that is in scope of the policy that you want to get the details for.
public GetProtectionStatusRequest withMemberAccountId(String memberAccountId)
The Amazon Web Services account that is in scope of the policy that you want to get the details for.
memberAccountId
- The Amazon Web Services account that is in scope of the policy that you want to get the details for.public void setStartTime(Date startTime)
The start of the time period to query for the attacks. This is a timestamp
type. The request syntax
listing indicates a number
type because the default used by Firewall Manager is Unix time in
seconds. However, any valid timestamp
format is allowed.
startTime
- The start of the time period to query for the attacks. This is a timestamp
type. The request
syntax listing indicates a number
type because the default used by Firewall Manager is Unix
time in seconds. However, any valid timestamp
format is allowed.public Date getStartTime()
The start of the time period to query for the attacks. This is a timestamp
type. The request syntax
listing indicates a number
type because the default used by Firewall Manager is Unix time in
seconds. However, any valid timestamp
format is allowed.
timestamp
type. The request
syntax listing indicates a number
type because the default used by Firewall Manager is Unix
time in seconds. However, any valid timestamp
format is allowed.public GetProtectionStatusRequest withStartTime(Date startTime)
The start of the time period to query for the attacks. This is a timestamp
type. The request syntax
listing indicates a number
type because the default used by Firewall Manager is Unix time in
seconds. However, any valid timestamp
format is allowed.
startTime
- The start of the time period to query for the attacks. This is a timestamp
type. The request
syntax listing indicates a number
type because the default used by Firewall Manager is Unix
time in seconds. However, any valid timestamp
format is allowed.public void setEndTime(Date endTime)
The end of the time period to query for the attacks. This is a timestamp
type. The request syntax
listing indicates a number
type because the default used by Firewall Manager is Unix time in
seconds. However, any valid timestamp
format is allowed.
endTime
- The end of the time period to query for the attacks. This is a timestamp
type. The request
syntax listing indicates a number
type because the default used by Firewall Manager is Unix
time in seconds. However, any valid timestamp
format is allowed.public Date getEndTime()
The end of the time period to query for the attacks. This is a timestamp
type. The request syntax
listing indicates a number
type because the default used by Firewall Manager is Unix time in
seconds. However, any valid timestamp
format is allowed.
timestamp
type. The request
syntax listing indicates a number
type because the default used by Firewall Manager is Unix
time in seconds. However, any valid timestamp
format is allowed.public GetProtectionStatusRequest withEndTime(Date endTime)
The end of the time period to query for the attacks. This is a timestamp
type. The request syntax
listing indicates a number
type because the default used by Firewall Manager is Unix time in
seconds. However, any valid timestamp
format is allowed.
endTime
- The end of the time period to query for the attacks. This is a timestamp
type. The request
syntax listing indicates a number
type because the default used by Firewall Manager is Unix
time in seconds. However, any valid timestamp
format is allowed.public void setNextToken(String nextToken)
If you specify a value for MaxResults
and you have more objects than the number that you specify for
MaxResults
, Firewall Manager returns a NextToken
value in the response, which you can
use to retrieve another group of objects. For the second and subsequent GetProtectionStatus
requests, specify the value of NextToken
from the previous response to get information about another
batch of objects.
nextToken
- If you specify a value for MaxResults
and you have more objects than the number that you
specify for MaxResults
, Firewall Manager returns a NextToken
value in the
response, which you can use to retrieve another group of objects. For the second and subsequent
GetProtectionStatus
requests, specify the value of NextToken
from the previous
response to get information about another batch of objects.public String getNextToken()
If you specify a value for MaxResults
and you have more objects than the number that you specify for
MaxResults
, Firewall Manager returns a NextToken
value in the response, which you can
use to retrieve another group of objects. For the second and subsequent GetProtectionStatus
requests, specify the value of NextToken
from the previous response to get information about another
batch of objects.
MaxResults
and you have more objects than the number that you
specify for MaxResults
, Firewall Manager returns a NextToken
value in the
response, which you can use to retrieve another group of objects. For the second and subsequent
GetProtectionStatus
requests, specify the value of NextToken
from the previous
response to get information about another batch of objects.public GetProtectionStatusRequest withNextToken(String nextToken)
If you specify a value for MaxResults
and you have more objects than the number that you specify for
MaxResults
, Firewall Manager returns a NextToken
value in the response, which you can
use to retrieve another group of objects. For the second and subsequent GetProtectionStatus
requests, specify the value of NextToken
from the previous response to get information about another
batch of objects.
nextToken
- If you specify a value for MaxResults
and you have more objects than the number that you
specify for MaxResults
, Firewall Manager returns a NextToken
value in the
response, which you can use to retrieve another group of objects. For the second and subsequent
GetProtectionStatus
requests, specify the value of NextToken
from the previous
response to get information about another batch of objects.public void setMaxResults(Integer maxResults)
Specifies the number of objects that you want Firewall Manager to return for this request. If you have more
objects than the number that you specify for MaxResults
, the response includes a
NextToken
value that you can use to get another batch of objects.
maxResults
- Specifies the number of objects that you want Firewall Manager to return for this request. If you have
more objects than the number that you specify for MaxResults
, the response includes a
NextToken
value that you can use to get another batch of objects.public Integer getMaxResults()
Specifies the number of objects that you want Firewall Manager to return for this request. If you have more
objects than the number that you specify for MaxResults
, the response includes a
NextToken
value that you can use to get another batch of objects.
MaxResults
, the response includes a
NextToken
value that you can use to get another batch of objects.public GetProtectionStatusRequest withMaxResults(Integer maxResults)
Specifies the number of objects that you want Firewall Manager to return for this request. If you have more
objects than the number that you specify for MaxResults
, the response includes a
NextToken
value that you can use to get another batch of objects.
maxResults
- Specifies the number of objects that you want Firewall Manager to return for this request. If you have
more objects than the number that you specify for MaxResults
, the response includes a
NextToken
value that you can use to get another batch of objects.public String toString()
toString
in class Object
Object.toString()
public GetProtectionStatusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()