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) Indicates whether some other object is "equal to" this one by SDK fields.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> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods 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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SecretsManagerConfiguration.Builder,SecretsManagerConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-