@Generated(value="software.amazon.awssdk:codegen") public final class FindingSource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FindingSource.Builder,FindingSource>
The source of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FindingSource.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FindingSource.Builder |
builder() |
FindingSourceDetail |
detail()
Includes details about how the access that generated the finding is granted.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FindingSource.Builder> |
serializableBuilderClass() |
FindingSource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
FindingSourceType |
type()
Indicates the type of access that generated the finding.
|
String |
typeAsString()
Indicates the type of access that generated the finding.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final FindingSourceType type()
Indicates the type of access that generated the finding.
If the service returns an enum value that is not available in the current SDK version, type will return
FindingSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
FindingSourceTypepublic final String typeAsString()
Indicates the type of access that generated the finding.
If the service returns an enum value that is not available in the current SDK version, type will return
FindingSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
FindingSourceTypepublic final FindingSourceDetail detail()
Includes details about how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
public FindingSource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FindingSource.Builder,FindingSource>public static FindingSource.Builder builder()
public static Class<? extends FindingSource.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.