Class BucketCriteriaAdditionalProperties
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.BucketCriteriaAdditionalProperties
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BucketCriteriaAdditionalProperties.Builder,BucketCriteriaAdditionalProperties>
@Generated("software.amazon.awssdk:codegen") public final class BucketCriteriaAdditionalProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BucketCriteriaAdditionalProperties.Builder,BucketCriteriaAdditionalProperties>
Specifies the operator to use in a property-based condition that filters the results of a query for information about S3 buckets.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBucketCriteriaAdditionalProperties.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BucketCriteriaAdditionalProperties.Builderbuilder()List<String>eq()The value for the property matches (equals) the specified value.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)Longgt()The value for the property is greater than the specified value.Longgte()The value for the property is greater than or equal to the specified value.booleanhasEq()For responses, this returns true if the service returned a value for the Eq property.inthashCode()booleanhasNeq()For responses, this returns true if the service returned a value for the Neq property.Longlt()The value for the property is less than the specified value.Longlte()The value for the property is less than or equal to the specified value.List<String>neq()The value for the property doesn't match (doesn't equal) the specified value.Stringprefix()The name of the bucket begins with the specified value.List<SdkField<?>>sdkFields()static Class<? extends BucketCriteriaAdditionalProperties.Builder>serializableBuilderClass()BucketCriteriaAdditionalProperties.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
hasEq
public final boolean hasEq()
For responses, this returns true if the service returned a value for the Eq property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
eq
public final List<String> eq()
The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasEq()method.- Returns:
- The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
-
gt
public final Long gt()
The value for the property is greater than the specified value.
- Returns:
- The value for the property is greater than the specified value.
-
gte
public final Long gte()
The value for the property is greater than or equal to the specified value.
- Returns:
- The value for the property is greater than or equal to the specified value.
-
lt
public final Long lt()
The value for the property is less than the specified value.
- Returns:
- The value for the property is less than the specified value.
-
lte
public final Long lte()
The value for the property is less than or equal to the specified value.
- Returns:
- The value for the property is less than or equal to the specified value.
-
hasNeq
public final boolean hasNeq()
For responses, this returns true if the service returned a value for the Neq property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
neq
public final List<String> neq()
The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasNeq()method.- Returns:
- The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
-
prefix
public final String prefix()
The name of the bucket begins with the specified value.
- Returns:
- The name of the bucket begins with the specified value.
-
toBuilder
public BucketCriteriaAdditionalProperties.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BucketCriteriaAdditionalProperties.Builder,BucketCriteriaAdditionalProperties>
-
builder
public static BucketCriteriaAdditionalProperties.Builder builder()
-
serializableBuilderClass
public static Class<? extends BucketCriteriaAdditionalProperties.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.
-
-