Class CfnTaskDefinition.FSxAuthorizationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnTaskDefinition.FSxAuthorizationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskDefinition.FSxAuthorizationConfigProperty>
- Enclosing interface:
CfnTaskDefinition.FSxAuthorizationConfigProperty
@Stability(Stable)
public static final class CfnTaskDefinition.FSxAuthorizationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskDefinition.FSxAuthorizationConfigProperty>
A builder for
CfnTaskDefinition.FSxAuthorizationConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.credentialsParameter
(String credentialsParameter) Sets the value ofCfnTaskDefinition.FSxAuthorizationConfigProperty.getDomain()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
credentialsParameter
@Stability(Stable) public CfnTaskDefinition.FSxAuthorizationConfigProperty.Builder credentialsParameter(String credentialsParameter) - Parameters:
credentialsParameter
- The authorization credential option to use. This parameter is required. The authorization credential options can be provided using either the Amazon Resource Name (ARN) of an AWS Secrets Manager secret or SSM Parameter Store parameter. The ARN refers to the stored credentials.- Returns:
this
-
domain
@Stability(Stable) public CfnTaskDefinition.FSxAuthorizationConfigProperty.Builder domain(String domain) Sets the value ofCfnTaskDefinition.FSxAuthorizationConfigProperty.getDomain()
- Parameters:
domain
- A fully qualified domain name hosted by an AWS Directory Service Managed Microsoft AD (Active Directory) or self-hosted AD on Amazon EC2. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTaskDefinition.FSxAuthorizationConfigProperty>
- Returns:
- a new instance of
CfnTaskDefinition.FSxAuthorizationConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-