Record Class BatchGetSelector
java.lang.Object
java.lang.Record
codes.grow.packages.awssecretsmanager.BatchGetSelector
- Record Components:
ids- secret ids, ornullfilters- filters, ornull
Selects the secrets of
batchGetSecretValue: a list of ids (names or ARNs) or filters,
never both.-
Constructor Summary
ConstructorsConstructorDescriptionBatchGetSelector(List<String> ids, List<SecretFilter> filters) Copies the lists. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.filters()Returns the value of thefiltersrecord component.static BatchGetSelectorfilters(SecretFilter... filters) Selects by filters.static BatchGetSelectorfilters(List<SecretFilter> filters) Selects by filters.final inthashCode()Returns a hash code value for this object.ids()Returns the value of theidsrecord component.static BatchGetSelectorSelects by ids.static BatchGetSelectorSelects by ids.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BatchGetSelector
Copies the lists.
-
-
Method Details
-
ids
Selects by ids.- Parameters:
ids- names or ARNs- Returns:
- the selector
-
ids
Selects by ids.- Parameters:
ids- names or ARNs- Returns:
- the selector
-
filters
Selects by filters.- Parameters:
filters- filters- Returns:
- the selector
-
filters
Selects by filters.- Parameters:
filters- filters- Returns:
- the selector
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
ids
Returns the value of theidsrecord component.- Returns:
- the value of the
idsrecord component
-
filters
Returns the value of thefiltersrecord component.- Returns:
- the value of the
filtersrecord component
-