Class CfnDataSource.SharePointSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataSource.SharePointSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.SharePointSourceConfigurationProperty>
- Enclosing interface:
CfnDataSource.SharePointSourceConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.SharePointSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.SharePointSourceConfigurationProperty>
A builder for
CfnDataSource.SharePointSourceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDataSource.SharePointSourceConfigurationProperty.getAuthType()build()Builds the configured instance.credentialsSecretArn(String credentialsSecretArn) Sets the value ofCfnDataSource.SharePointSourceConfigurationProperty.getDomain()Sets the value ofCfnDataSource.SharePointSourceConfigurationProperty.getHostType()Sets the value ofCfnDataSource.SharePointSourceConfigurationProperty.getSiteUrls()Sets the value ofCfnDataSource.SharePointSourceConfigurationProperty.getTenantId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authType
@Stability(Stable) public CfnDataSource.SharePointSourceConfigurationProperty.Builder authType(String authType) Sets the value ofCfnDataSource.SharePointSourceConfigurationProperty.getAuthType()- Parameters:
authType- The supported authentication type to authenticate and connect to your SharePoint site/sites. This parameter is required.- Returns:
this
-
credentialsSecretArn
@Stability(Stable) public CfnDataSource.SharePointSourceConfigurationProperty.Builder credentialsSecretArn(String credentialsSecretArn) - Parameters:
credentialsSecretArn- The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. This parameter is required. 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 CfnDataSource.SharePointSourceConfigurationProperty.Builder domain(String domain) Sets the value ofCfnDataSource.SharePointSourceConfigurationProperty.getDomain()- Parameters:
domain- The domain of your SharePoint instance or site URL/URLs. This parameter is required.- Returns:
this
-
hostType
@Stability(Stable) public CfnDataSource.SharePointSourceConfigurationProperty.Builder hostType(String hostType) Sets the value ofCfnDataSource.SharePointSourceConfigurationProperty.getHostType()- Parameters:
hostType- The supported host type, whether online/cloud or server/on-premises. This parameter is required.- Returns:
this
-
siteUrls
@Stability(Stable) public CfnDataSource.SharePointSourceConfigurationProperty.Builder siteUrls(List<String> siteUrls) Sets the value ofCfnDataSource.SharePointSourceConfigurationProperty.getSiteUrls()- Parameters:
siteUrls- A list of one or more SharePoint site URLs. This parameter is required.- Returns:
this
-
tenantId
@Stability(Stable) public CfnDataSource.SharePointSourceConfigurationProperty.Builder tenantId(String tenantId) Sets the value ofCfnDataSource.SharePointSourceConfigurationProperty.getTenantId()- Parameters:
tenantId- The identifier of your Microsoft 365 tenant.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.SharePointSourceConfigurationProperty>- Returns:
- a new instance of
CfnDataSource.SharePointSourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-