Interface GetProtectionStatusRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetProtectionStatusRequest.Builder,
,GetProtectionStatusRequest> FmsRequest.Builder
,SdkBuilder<GetProtectionStatusRequest.Builder,
,GetProtectionStatusRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetProtectionStatusRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe end of the time period to query for the attacks.maxResults
(Integer maxResults) Specifies the number of objects that you want Firewall Manager to return for this request.memberAccountId
(String memberAccountId) The Amazon Web Services account that is in scope of the policy that you want to get the details for.If you specify a value forMaxResults
and you have more objects than the number that you specify forMaxResults
, Firewall Manager returns aNextToken
value in the response, which you can use to retrieve another group of objects.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID of the policy for which you want to get the attack information.The start of the time period to query for the attacks.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fms.model.FmsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
policyId
The ID of the policy for which you want to get the attack information.
- Parameters:
policyId
- The ID of the policy for which you want to get the attack information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberAccountId
The Amazon Web Services account that is in scope of the policy that you want to get the details for.
- Parameters:
memberAccountId
- The Amazon Web Services account that is in scope of the policy that you want to get the details for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The start of the time period to query for the attacks. This is a
timestamp
type. The request syntax listing indicates anumber
type because the default used by Firewall Manager is Unix time in seconds. However, any validtimestamp
format is allowed.- Parameters:
startTime
- The start of the time period to query for the attacks. This is atimestamp
type. The request syntax listing indicates anumber
type because the default used by Firewall Manager is Unix time in seconds. However, any validtimestamp
format is allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end of the time period to query for the attacks. This is a
timestamp
type. The request syntax listing indicates anumber
type because the default used by Firewall Manager is Unix time in seconds. However, any validtimestamp
format is allowed.- Parameters:
endTime
- The end of the time period to query for the attacks. This is atimestamp
type. The request syntax listing indicates anumber
type because the default used by Firewall Manager is Unix time in seconds. However, any validtimestamp
format is allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If you specify a value for
MaxResults
and you have more objects than the number that you specify forMaxResults
, Firewall Manager returns aNextToken
value in the response, which you can use to retrieve another group of objects. For the second and subsequentGetProtectionStatus
requests, specify the value ofNextToken
from the previous response to get information about another batch of objects.- Parameters:
nextToken
- If you specify a value forMaxResults
and you have more objects than the number that you specify forMaxResults
, Firewall Manager returns aNextToken
value in the response, which you can use to retrieve another group of objects. For the second and subsequentGetProtectionStatus
requests, specify the value ofNextToken
from the previous response to get information about another batch of objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 aNextToken
value that you can use to get another batch of objects.- Parameters:
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 forMaxResults
, the response includes aNextToken
value that you can use to get another batch of objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetProtectionStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetProtectionStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-