Interface GetProtectionStatusResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetProtectionStatusResponse.Builder,GetProtectionStatusResponse>, FmsResponse.Builder, SdkBuilder<GetProtectionStatusResponse.Builder,GetProtectionStatusResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetProtectionStatusResponse

public static interface GetProtectionStatusResponse.Builder extends FmsResponse.Builder, SdkPojo, CopyableBuilder<GetProtectionStatusResponse.Builder,GetProtectionStatusResponse>
  • Method Details

    • adminAccountId

      GetProtectionStatusResponse.Builder adminAccountId(String adminAccountId)

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

      Parameters:
      adminAccountId - The ID of the Firewall Manager administrator account for this policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceType

      GetProtectionStatusResponse.Builder serviceType(String serviceType)

      The service type that is protected by the policy. Currently, this is always SHIELD_ADVANCED.

      Parameters:
      serviceType - The service type that is protected by the policy. Currently, this is always SHIELD_ADVANCED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceType

      The service type that is protected by the policy. Currently, this is always SHIELD_ADVANCED.

      Parameters:
      serviceType - The service type that is protected by the policy. Currently, this is always SHIELD_ADVANCED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.