Class GetProtectionStatusRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.fms.model.FmsRequest
-
- software.amazon.awssdk.services.fms.model.GetProtectionStatusRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetProtectionStatusRequest.Builder,GetProtectionStatusRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetProtectionStatusRequest extends FmsRequest implements ToCopyableBuilder<GetProtectionStatusRequest.Builder,GetProtectionStatusRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetProtectionStatusRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetProtectionStatusRequest.Builderbuilder()InstantendTime()The end of the time period to query for the attacks.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()Specifies the number of objects that you want Firewall Manager to return for this request.StringmemberAccountId()The Amazon Web Services account that is in scope of the policy that you want to get the details for.StringnextToken()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.StringpolicyId()The ID of the policy for which you want to get the attack information.List<SdkField<?>>sdkFields()static Class<? extends GetProtectionStatusRequest.Builder>serializableBuilderClass()InstantstartTime()The start of the time period to query for the attacks.GetProtectionStatusRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
policyId
public final String policyId()
The ID of the policy for which you want to get the attack information.
- Returns:
- The ID of the policy for which you want to get the attack information.
-
memberAccountId
public final String memberAccountId()
The Amazon Web Services account that is in scope of the policy that you want to get the details for.
- Returns:
- The Amazon Web Services account that is in scope of the policy that you want to get the details for.
-
startTime
public final 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.- Returns:
- 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.
-
endTime
public final 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.- Returns:
- 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.
-
nextToken
public final 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.- Returns:
- 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.
-
maxResults
public final 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.- Returns:
- 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.
-
toBuilder
public GetProtectionStatusRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetProtectionStatusRequest.Builder,GetProtectionStatusRequest>- Specified by:
toBuilderin classFmsRequest
-
builder
public static GetProtectionStatusRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetProtectionStatusRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-