Record Class BatchGetError
java.lang.Object
java.lang.Record
codes.grow.packages.awssecretsmanager.BatchGetError
- Record Components:
secretId- the requested id, ornullerrorCode- AWS error code, e.g.ResourceNotFoundException, ornullmessage- AWS message, ornull
A per-secret failure of
batchGetSecretValue (the call itself succeeded).-
Constructor Summary
ConstructorsConstructorDescriptionBatchGetError(String secretId, String errorCode, String message) Creates an instance of aBatchGetErrorrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the canonical error code oferrorCode().final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorCoderecord component.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.secretId()Returns the value of thesecretIdrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
code
Returns the canonical error code oferrorCode().- Returns:
- the code (
UNAVAILABLEfor unknown codes)
-
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). -
secretId
Returns the value of thesecretIdrecord component.- Returns:
- the value of the
secretIdrecord component
-
errorCode
Returns the value of theerrorCoderecord component.- Returns:
- the value of the
errorCoderecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-