Class Filters
- java.lang.Object
-
- software.amazon.awssdk.services.acm.model.Filters
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Filters.Builder,Filters>
@Generated("software.amazon.awssdk:codegen") public final class Filters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Filters.Builder,Filters>
This structure can be used in the ListCertificates action to filter the output of the certificate list.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFilters.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Filters.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)List<ExtendedKeyUsageName>extendedKeyUsage()Specify one or more ExtendedKeyUsage extension values.List<String>extendedKeyUsageAsStrings()Specify one or more ExtendedKeyUsage extension values.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasExtendedKeyUsage()For responses, this returns true if the service returned a value for the ExtendedKeyUsage property.inthashCode()booleanhasKeyTypes()For responses, this returns true if the service returned a value for the KeyTypes property.booleanhasKeyUsage()For responses, this returns true if the service returned a value for the KeyUsage property.List<KeyAlgorithm>keyTypes()Specify one or more algorithms that can be used to generate key pairs.List<String>keyTypesAsStrings()Specify one or more algorithms that can be used to generate key pairs.List<KeyUsageName>keyUsage()Specify one or more KeyUsage extension values.List<String>keyUsageAsStrings()Specify one or more KeyUsage extension values.List<SdkField<?>>sdkFields()static Class<? extends Filters.Builder>serializableBuilderClass()Filters.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
-
extendedKeyUsage
public final List<ExtendedKeyUsageName> extendedKeyUsage()
Specify one or more ExtendedKeyUsage extension 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
hasExtendedKeyUsage()method.- Returns:
- Specify one or more ExtendedKeyUsage extension values.
-
hasExtendedKeyUsage
public final boolean hasExtendedKeyUsage()
For responses, this returns true if the service returned a value for the ExtendedKeyUsage 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.
-
extendedKeyUsageAsStrings
public final List<String> extendedKeyUsageAsStrings()
Specify one or more ExtendedKeyUsage extension 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
hasExtendedKeyUsage()method.- Returns:
- Specify one or more ExtendedKeyUsage extension values.
-
keyUsage
public final List<KeyUsageName> keyUsage()
Specify one or more KeyUsage extension 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
hasKeyUsage()method.- Returns:
- Specify one or more KeyUsage extension values.
-
hasKeyUsage
public final boolean hasKeyUsage()
For responses, this returns true if the service returned a value for the KeyUsage 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.
-
keyUsageAsStrings
public final List<String> keyUsageAsStrings()
Specify one or more KeyUsage extension 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
hasKeyUsage()method.- Returns:
- Specify one or more KeyUsage extension values.
-
keyTypes
public final List<KeyAlgorithm> keyTypes()
Specify one or more algorithms that can be used to generate key pairs.
Default filtering returns only
RSA_1024andRSA_2048certificates that have at least one domain. To return other certificate types, provide the desired type signatures in a comma-separated list. For example,"keyTypes": ["RSA_2048","RSA_4096"]returns bothRSA_2048andRSA_4096certificates.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
hasKeyTypes()method.- Returns:
- Specify one or more algorithms that can be used to generate key pairs.
Default filtering returns only
RSA_1024andRSA_2048certificates that have at least one domain. To return other certificate types, provide the desired type signatures in a comma-separated list. For example,"keyTypes": ["RSA_2048","RSA_4096"]returns bothRSA_2048andRSA_4096certificates.
-
hasKeyTypes
public final boolean hasKeyTypes()
For responses, this returns true if the service returned a value for the KeyTypes 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.
-
keyTypesAsStrings
public final List<String> keyTypesAsStrings()
Specify one or more algorithms that can be used to generate key pairs.
Default filtering returns only
RSA_1024andRSA_2048certificates that have at least one domain. To return other certificate types, provide the desired type signatures in a comma-separated list. For example,"keyTypes": ["RSA_2048","RSA_4096"]returns bothRSA_2048andRSA_4096certificates.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
hasKeyTypes()method.- Returns:
- Specify one or more algorithms that can be used to generate key pairs.
Default filtering returns only
RSA_1024andRSA_2048certificates that have at least one domain. To return other certificate types, provide the desired type signatures in a comma-separated list. For example,"keyTypes": ["RSA_2048","RSA_4096"]returns bothRSA_2048andRSA_4096certificates.
-
toBuilder
public Filters.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Filters.Builder,Filters>
-
builder
public static Filters.Builder builder()
-
serializableBuilderClass
public static Class<? extends Filters.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.
-
-