Class CfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediatailor.CfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty>
- Enclosing interface:
CfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty
@Stability(Stable)
public static final class CfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.headerName(String headerName) secretStringKey(String secretStringKey)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
headerName
@Stability(Stable) public CfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty.Builder headerName(String headerName) Sets the value ofCfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty.getHeaderName()- Parameters:
headerName- The name of the HTTP header used to supply the access token in requests to the source location.- Returns:
this
-
secretArn
@Stability(Stable) public CfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty.Builder secretArn(String secretArn) Sets the value ofCfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty.getSecretArn()- Parameters:
secretArn- The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the access token.- Returns:
this
-
secretStringKey
@Stability(Stable) public CfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty.Builder secretStringKey(String secretStringKey) Sets the value ofCfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty.getSecretStringKey()- Parameters:
secretStringKey- The AWS Secrets Manager SecretString key associated with the access token. MediaTailor uses the key to look up SecretString key and value pair containing the access token.- Returns:
this
-
build
@Stability(Stable) public CfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty>- Returns:
- a new instance of
CfnSourceLocationPropsMixin.SecretsManagerAccessTokenConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-