Class CfnDataSourcePropsMixin.SharePointSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDataSourcePropsMixin.SharePointSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.SharePointSourceConfigurationProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.SharePointSourceConfigurationProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.SharePointSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.SharePointSourceConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.credentialsSecretArn(String credentialsSecretArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authType
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointSourceConfigurationProperty.Builder authType(String authType) - Parameters:
authType- The supported authentication type to authenticate and connect to your SharePoint site/sites.- Returns:
this
-
credentialsSecretArn
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointSourceConfigurationProperty.Builder credentialsSecretArn(String credentialsSecretArn) Sets the value ofCfnDataSourcePropsMixin.SharePointSourceConfigurationProperty.getCredentialsSecretArn()- Parameters:
credentialsSecretArn- The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see SharePoint connection configuration .- Returns:
this
-
domain
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointSourceConfigurationProperty.Builder domain(String domain) - Parameters:
domain- The domain of your SharePoint instance or site URL/URLs.- Returns:
this
-
hostType
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointSourceConfigurationProperty.Builder hostType(String hostType) - Parameters:
hostType- The supported host type, whether online/cloud or server/on-premises.- Returns:
this
-
siteUrls
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointSourceConfigurationProperty.Builder siteUrls(List<String> siteUrls) - Parameters:
siteUrls- A list of one or more SharePoint site URLs.- Returns:
this
-
tenantId
@Stability(Stable) public CfnDataSourcePropsMixin.SharePointSourceConfigurationProperty.Builder tenantId(String tenantId) - Parameters:
tenantId- The identifier of your Microsoft 365 tenant.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.SharePointSourceConfigurationProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.SharePointSourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-