Class GetProtectionStatusResponse

    • Method Detail

      • adminAccountId

        public final String adminAccountId()

        The ID of the Firewall Manager administrator account for this policy.

        Returns:
        The ID of the Firewall Manager administrator account for this policy.
      • serviceTypeAsString

        public final 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().

        Returns:
        The service type that is protected by the policy. Currently, this is always SHIELD_ADVANCED.
        See Also:
        SecurityServiceType
      • data

        public final 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.

        Returns:
        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.

      • nextToken

        public final 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.

        Amazon Web Services 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.

        Returns:
        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.

        Amazon Web Services 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.

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object