Class GetFindingsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codegurusecurity.model.CodeGuruSecurityRequest
-
- software.amazon.awssdk.services.codegurusecurity.model.GetFindingsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetFindingsRequest.Builder,GetFindingsRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetFindingsRequest extends CodeGuruSecurityRequest implements ToCopyableBuilder<GetFindingsRequest.Builder,GetFindingsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetFindingsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetFindingsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to return in the response.StringnextToken()A token to use for paginating results that are returned in the response.StringscanName()The name of the scan you want to retrieve findings from.List<SdkField<?>>sdkFields()static Class<? extends GetFindingsRequest.Builder>serializableBuilderClass()Statusstatus()The status of the findings you want to get.StringstatusAsString()The status of the findings you want to get.GetFindingsRequest.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
-
maxResults
public final Integer maxResults()
The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the
nextTokenelement is returned in the response. UsenextTokenin a subsequent request to retrieve additional results.- Returns:
- The maximum number of results to return in the response. Use this parameter when paginating results. If
additional results exist beyond the number you specify, the
nextTokenelement is returned in the response. UsenextTokenin a subsequent request to retrieve additional results.
-
nextToken
public final String nextToken()
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the
nextTokenvalue returned from the previous request to continue listing results after the first page.- Returns:
- A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request. For subsequent calls, use the
nextTokenvalue returned from the previous request to continue listing results after the first page.
-
scanName
public final String scanName()
The name of the scan you want to retrieve findings from.
- Returns:
- The name of the scan you want to retrieve findings from.
-
status
public final Status status()
The status of the findings you want to get. Pass either
Open,Closed, orAll.If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the findings you want to get. Pass either
Open,Closed, orAll. - See Also:
Status
-
statusAsString
public final String statusAsString()
The status of the findings you want to get. Pass either
Open,Closed, orAll.If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the findings you want to get. Pass either
Open,Closed, orAll. - See Also:
Status
-
toBuilder
public GetFindingsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetFindingsRequest.Builder,GetFindingsRequest>- Specified by:
toBuilderin classCodeGuruSecurityRequest
-
builder
public static GetFindingsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetFindingsRequest.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
-
-