Class SecretsManagerConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SecretsManagerConfiguration.Builder,SecretsManagerConfiguration>
The structure that defines how Firehose accesses the secret.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Booleanenabled()Specifies whether you want to use the secrets manager feature.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringroleARN()Specifies the role that Firehose assumes when calling the Secrets Manager API operation.final StringThe ARN of the secret that stores your credentials.static Class<? extends SecretsManagerConfiguration.Builder>final StringtoString()Returns a string representation of this object.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
-
secretARN
The ARN of the secret that stores your credentials. It must be in the same region as the Firehose stream and the role. The secret ARN can reside in a different account than the Firehose stream and role as Firehose supports cross-account secret access. This parameter is required when Enabled is set to
True.- Returns:
- The ARN of the secret that stores your credentials. It must be in the same region as the Firehose stream
and the role. The secret ARN can reside in a different account than the Firehose stream and role as
Firehose supports cross-account secret access. This parameter is required when Enabled is set to
True.
-
roleARN
Specifies the role that Firehose assumes when calling the Secrets Manager API operation. When you provide the role, it overrides any destination specific role defined in the destination configuration. If you do not provide the then we use the destination specific role. This parameter is required for Splunk.
- Returns:
- Specifies the role that Firehose assumes when calling the Secrets Manager API operation. When you provide the role, it overrides any destination specific role defined in the destination configuration. If you do not provide the then we use the destination specific role. This parameter is required for Splunk.
-
enabled
Specifies whether you want to use the secrets manager feature. When set as
Truethe secrets manager configuration overwrites the existing secrets in the destination configuration. When it's set toFalseFirehose falls back to the credentials in the destination configuration.- Returns:
- Specifies whether you want to use the secrets manager feature. When set as
Truethe secrets manager configuration overwrites the existing secrets in the destination configuration. When it's set toFalseFirehose falls back to the credentials in the destination configuration.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SecretsManagerConfiguration.Builder,SecretsManagerConfiguration>
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-