@Generated(value="software.amazon.awssdk:codegen") public final class AddAttributesToFindingsRequest extends InspectorRequest implements ToCopyableBuilder<AddAttributesToFindingsRequest.Builder,AddAttributesToFindingsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AddAttributesToFindingsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<Attribute> |
attributes()
The array of attributes that you want to assign to specified findings.
|
static AddAttributesToFindingsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
findingArns()
The ARNs that specify the findings that you want to assign attributes to.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAttributes()
Returns true if the Attributes property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasFindingArns()
Returns true if the FindingArns property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AddAttributesToFindingsRequest.Builder> |
serializableBuilderClass() |
AddAttributesToFindingsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasFindingArns()
public final List<String> findingArns()
The ARNs that specify the findings that you want to assign attributes to.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFindingArns() to see if a value was sent in this field.
public final boolean hasAttributes()
public final List<Attribute> attributes()
The array of attributes that you want to assign to specified findings.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAttributes() to see if a value was sent in this field.
public AddAttributesToFindingsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AddAttributesToFindingsRequest.Builder,AddAttributesToFindingsRequest>toBuilder in class InspectorRequestpublic static AddAttributesToFindingsRequest.Builder builder()
public static Class<? extends AddAttributesToFindingsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.