Class UpdateFindingsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.securityhub.model.SecurityHubRequest
-
- software.amazon.awssdk.services.securityhub.model.UpdateFindingsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateFindingsRequest.Builder,UpdateFindingsRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateFindingsRequest extends SecurityHubRequest implements ToCopyableBuilder<UpdateFindingsRequest.Builder,UpdateFindingsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateFindingsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateFindingsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)AwsSecurityFindingFiltersfilters()A collection of attributes that specify which findings you want to update.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()NoteUpdatenote()The updated note for the finding.RecordStaterecordState()The updated record state for the finding.StringrecordStateAsString()The updated record state for the finding.List<SdkField<?>>sdkFields()static Class<? extends UpdateFindingsRequest.Builder>serializableBuilderClass()UpdateFindingsRequest.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
-
filters
public final AwsSecurityFindingFilters filters()
A collection of attributes that specify which findings you want to update.
- Returns:
- A collection of attributes that specify which findings you want to update.
-
note
public final NoteUpdate note()
The updated note for the finding.
- Returns:
- The updated note for the finding.
-
recordState
public final RecordState recordState()
The updated record state for the finding.
If the service returns an enum value that is not available in the current SDK version,
recordStatewill returnRecordState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrecordStateAsString().- Returns:
- The updated record state for the finding.
- See Also:
RecordState
-
recordStateAsString
public final String recordStateAsString()
The updated record state for the finding.
If the service returns an enum value that is not available in the current SDK version,
recordStatewill returnRecordState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrecordStateAsString().- Returns:
- The updated record state for the finding.
- See Also:
RecordState
-
toBuilder
public UpdateFindingsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateFindingsRequest.Builder,UpdateFindingsRequest>- Specified by:
toBuilderin classSecurityHubRequest
-
builder
public static UpdateFindingsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateFindingsRequest.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
-
-