Class CertificateLocation
java.lang.Object
software.amazon.awssdk.services.bedrockagentcore.model.CertificateLocation
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CertificateLocation.Builder,CertificateLocation>
@Generated("software.amazon.awssdk:codegen")
public final class CertificateLocation
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<CertificateLocation.Builder,CertificateLocation>
The location from which to retrieve a certificate.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateLocation.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) static CertificateLocationfromSecretsManager(Consumer<SecretsManagerLocation.Builder> secretsManager) Create an instance of this class withsecretsManager()initialized to the given value.static CertificateLocationfromSecretsManager(SecretsManagerLocation secretsManager) Create an instance of this class withsecretsManager()initialized to the given value.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final SecretsManagerLocationThe Amazon Web Services Secrets Manager location of the certificate.static Class<? extends CertificateLocation.Builder>final StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
secretsManager
The Amazon Web Services Secrets Manager location of the certificate.
- Returns:
- The Amazon Web Services Secrets Manager location of the certificate.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CertificateLocation.Builder,CertificateLocation>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
fromSecretsManager
Create an instance of this class withsecretsManager()initialized to the given value.The Amazon Web Services Secrets Manager location of the certificate.
- Parameters:
secretsManager- The Amazon Web Services Secrets Manager location of the certificate.
-
fromSecretsManager
public static CertificateLocation fromSecretsManager(Consumer<SecretsManagerLocation.Builder> secretsManager) Create an instance of this class withsecretsManager()initialized to the given value.The Amazon Web Services Secrets Manager location of the certificate.
- Parameters:
secretsManager- The Amazon Web Services Secrets Manager location of the certificate.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beCertificateLocation.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beCertificateLocation.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-