Class ScanConditionPair
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.ScanConditionPair
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScanConditionPair.Builder,ScanConditionPair>
@Generated("software.amazon.awssdk:codegen") public final class ScanConditionPair extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScanConditionPair.Builder,ScanConditionPair>
Represents the
key:valuepair to be matched against given resource property.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScanConditionPair.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScanConditionPair.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()Represents the key in the map condition.List<SdkField<?>>sdkFields()static Class<? extends ScanConditionPair.Builder>serializableBuilderClass()ScanConditionPair.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()Represents optional value in the map condition.-
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
-
key
public final String key()
Represents the key in the map condition.
- Returns:
- Represents the key in the map condition.
-
value
public final String value()
Represents optional value in the map condition. If not specified, only the key will be matched.
- Returns:
- Represents optional value in the map condition. If not specified, only the key will be matched.
-
toBuilder
public ScanConditionPair.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScanConditionPair.Builder,ScanConditionPair>
-
builder
public static ScanConditionPair.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScanConditionPair.Builder> serializableBuilderClass()
-
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.
-
-