Interface GetProtectionStatusRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetProtectionStatusRequest.Builder,GetProtectionStatusRequest>,FmsRequest.Builder,SdkBuilder<GetProtectionStatusRequest.Builder,GetProtectionStatusRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetProtectionStatusRequest
public static interface GetProtectionStatusRequest.Builder extends FmsRequest.Builder, SdkPojo, CopyableBuilder<GetProtectionStatusRequest.Builder,GetProtectionStatusRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetProtectionStatusRequest.BuilderendTime(Instant endTime)The end of the time period to query for the attacks.GetProtectionStatusRequest.BuildermaxResults(Integer maxResults)Specifies the number of objects that you want Firewall Manager to return for this request.GetProtectionStatusRequest.BuildermemberAccountId(String memberAccountId)The Amazon Web Services account that is in scope of the policy that you want to get the details for.GetProtectionStatusRequest.BuildernextToken(String nextToken)If you specify a value forMaxResultsand you have more objects than the number that you specify forMaxResults, Firewall Manager returns aNextTokenvalue in the response, which you can use to retrieve another group of objects.GetProtectionStatusRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetProtectionStatusRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetProtectionStatusRequest.BuilderpolicyId(String policyId)The ID of the policy for which you want to get the attack information.GetProtectionStatusRequest.BuilderstartTime(Instant startTime)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 Detail
-
policyId
GetProtectionStatusRequest.Builder policyId(String 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
GetProtectionStatusRequest.Builder memberAccountId(String 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
GetProtectionStatusRequest.Builder startTime(Instant startTime)
The start of the time period to query for the attacks. This is a
timestamptype. The request syntax listing indicates anumbertype because the default used by Firewall Manager is Unix time in seconds. However, any validtimestampformat is allowed.- Parameters:
startTime- The start of the time period to query for the attacks. This is atimestamptype. The request syntax listing indicates anumbertype because the default used by Firewall Manager is Unix time in seconds. However, any validtimestampformat is allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
GetProtectionStatusRequest.Builder endTime(Instant endTime)
The end of the time period to query for the attacks. This is a
timestamptype. The request syntax listing indicates anumbertype because the default used by Firewall Manager is Unix time in seconds. However, any validtimestampformat is allowed.- Parameters:
endTime- The end of the time period to query for the attacks. This is atimestamptype. The request syntax listing indicates anumbertype because the default used by Firewall Manager is Unix time in seconds. However, any validtimestampformat is allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetProtectionStatusRequest.Builder nextToken(String nextToken)
If you specify a value for
MaxResultsand you have more objects than the number that you specify forMaxResults, Firewall Manager returns aNextTokenvalue in the response, which you can use to retrieve another group of objects. For the second and subsequentGetProtectionStatusrequests, specify the value ofNextTokenfrom the previous response to get information about another batch of objects.- Parameters:
nextToken- If you specify a value forMaxResultsand you have more objects than the number that you specify forMaxResults, Firewall Manager returns aNextTokenvalue in the response, which you can use to retrieve another group of objects. For the second and subsequentGetProtectionStatusrequests, specify the value ofNextTokenfrom 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
GetProtectionStatusRequest.Builder maxResults(Integer 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 aNextTokenvalue 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 aNextTokenvalue 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetProtectionStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-