@Generated(value="software.amazon.awssdk:codegen") public final class GetProtectionStatusResponse extends FmsResponse implements ToCopyableBuilder<GetProtectionStatusResponse.Builder,GetProtectionStatusResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetProtectionStatusResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
adminAccountId()
The ID of the AWS Firewall administrator account for this policy.
|
static GetProtectionStatusResponse.Builder |
builder() |
String |
data()
Details about the attack, including the following:
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
nextToken()
If you have more objects than the number that you specified for
MaxResults in the request, the
response includes a NextToken value. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetProtectionStatusResponse.Builder> |
serializableBuilderClass() |
SecurityServiceType |
serviceType()
The service type that is protected by the policy.
|
String |
serviceTypeAsString()
The service type that is protected by the policy.
|
GetProtectionStatusResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String adminAccountId()
The ID of the AWS Firewall administrator account for this policy.
public SecurityServiceType serviceType()
The service type that is protected by the policy. Currently, this is always SHIELD_ADVANCED.
If the service returns an enum value that is not available in the current SDK version, serviceType will
return SecurityServiceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from serviceTypeAsString().
SHIELD_ADVANCED.SecurityServiceTypepublic String serviceTypeAsString()
The service type that is protected by the policy. Currently, this is always SHIELD_ADVANCED.
If the service returns an enum value that is not available in the current SDK version, serviceType will
return SecurityServiceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from serviceTypeAsString().
SHIELD_ADVANCED.SecurityServiceTypepublic String data()
Details about the attack, including the following:
Attack type
Account ID
ARN of the resource attacked
Start time of the attack
End time of the attack (ongoing attacks will not have an end time)
The details are in JSON format. An example is shown in the Examples section below.
Attack type
Account ID
ARN of the resource attacked
Start time of the attack
End time of the attack (ongoing attacks will not have an end time)
The details are in JSON format. An example is shown in the Examples section below.
public String nextToken()
If you have more objects than the number that you specified for MaxResults in the request, the
response includes a NextToken value. To list more objects, submit another
GetProtectionStatus request, and specify the NextToken value from the response in the
NextToken value in the next request.
AWS SDKs provide auto-pagination that identify NextToken in a response and make subsequent request
calls automatically on your behalf. However, this feature is not supported by GetProtectionStatus.
You must submit subsequent requests with NextToken using your own processes.
MaxResults in the request,
the response includes a NextToken value. To list more objects, submit another
GetProtectionStatus request, and specify the NextToken value from the response
in the NextToken value in the next request.
AWS SDKs provide auto-pagination that identify NextToken in a response and make subsequent
request calls automatically on your behalf. However, this feature is not supported by
GetProtectionStatus. You must submit subsequent requests with NextToken using
your own processes.
public GetProtectionStatusResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetProtectionStatusResponse.Builder,GetProtectionStatusResponse>toBuilder in class AwsResponsepublic static GetProtectionStatusResponse.Builder builder()
public static Class<? extends GetProtectionStatusResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.