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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetProtectionStatusResponse.BuilderadminAccountId(String adminAccountId)The ID of the Firewall Manager administrator account for this policy.GetProtectionStatusResponse.Builderdata(String data)Details about the attack, including the following:GetProtectionStatusResponse.BuildernextToken(String nextToken)If you have more objects than the number that you specified forMaxResultsin the request, the response includes aNextTokenvalue.GetProtectionStatusResponse.BuilderserviceType(String serviceType)The service type that is protected by the policy.GetProtectionStatusResponse.BuilderserviceType(SecurityServiceType serviceType)The service type that is protected by the policy.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.fms.model.FmsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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 alwaysSHIELD_ADVANCED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecurityServiceType,SecurityServiceType
-
serviceType
GetProtectionStatusResponse.Builder serviceType(SecurityServiceType 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 alwaysSHIELD_ADVANCED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecurityServiceType,SecurityServiceType
-
data
GetProtectionStatusResponse.Builder data(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.
- 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
GetProtectionStatusResponse.Builder nextToken(String nextToken)
If you have more objects than the number that you specified for
MaxResultsin the request, the response includes aNextTokenvalue. To list more objects, submit anotherGetProtectionStatusrequest, and specify theNextTokenvalue from the response in theNextTokenvalue in the next request.Amazon Web Services SDKs provide auto-pagination that identify
NextTokenin a response and make subsequent request calls automatically on your behalf. However, this feature is not supported byGetProtectionStatus. You must submit subsequent requests withNextTokenusing your own processes.- Parameters:
nextToken- If you have more objects than the number that you specified forMaxResultsin the request, the response includes aNextTokenvalue. To list more objects, submit anotherGetProtectionStatusrequest, and specify theNextTokenvalue from the response in theNextTokenvalue in the next request.Amazon Web Services SDKs provide auto-pagination that identify
NextTokenin a response and make subsequent request calls automatically on your behalf. However, this feature is not supported byGetProtectionStatus. You must submit subsequent requests withNextTokenusing your own processes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-