Class DialogflowCxAgentGitIntegrationSettingsGithubSettings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dialogflow_cx_agent.DialogflowCxAgentGitIntegrationSettingsGithubSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DialogflowCxAgentGitIntegrationSettingsGithubSettings>
- Enclosing interface:
- DialogflowCxAgentGitIntegrationSettingsGithubSettings
@Stability(Stable) public static final class DialogflowCxAgentGitIntegrationSettingsGithubSettings.Builder extends Object implements software.amazon.jsii.Builder<DialogflowCxAgentGitIntegrationSettingsGithubSettings>
A builder forDialogflowCxAgentGitIntegrationSettingsGithubSettings
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
accessToken
@Stability(Stable) public DialogflowCxAgentGitIntegrationSettingsGithubSettings.Builder accessToken(String accessToken)
Sets the value ofDialogflowCxAgentGitIntegrationSettingsGithubSettings.getAccessToken()- Parameters:
accessToken- The access token used to authenticate the access to the GitHub repository. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_agent#access_token DialogflowCxAgent#access_token}- Returns:
this
-
branches
@Stability(Stable) public DialogflowCxAgentGitIntegrationSettingsGithubSettings.Builder branches(List<String> branches)
Sets the value ofDialogflowCxAgentGitIntegrationSettingsGithubSettings.getBranches()- Parameters:
branches- A list of branches configured to be used from Dialogflow. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_agent#branches DialogflowCxAgent#branches}- Returns:
this
-
displayName
@Stability(Stable) public DialogflowCxAgentGitIntegrationSettingsGithubSettings.Builder displayName(String displayName)
Sets the value ofDialogflowCxAgentGitIntegrationSettingsGithubSettings.getDisplayName()- Parameters:
displayName- The unique repository display name for the GitHub repository. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_agent#display_name DialogflowCxAgent#display_name}- Returns:
this
-
repositoryUri
@Stability(Stable) public DialogflowCxAgentGitIntegrationSettingsGithubSettings.Builder repositoryUri(String repositoryUri)
Sets the value ofDialogflowCxAgentGitIntegrationSettingsGithubSettings.getRepositoryUri()- Parameters:
repositoryUri- The GitHub repository URI related to the agent. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_agent#repository_uri DialogflowCxAgent#repository_uri}- Returns:
this
-
trackingBranch
@Stability(Stable) public DialogflowCxAgentGitIntegrationSettingsGithubSettings.Builder trackingBranch(String trackingBranch)
- Parameters:
trackingBranch- The branch of the GitHub repository tracked for this agent. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dialogflow_cx_agent#tracking_branch DialogflowCxAgent#tracking_branch}- Returns:
this
-
build
@Stability(Stable) public DialogflowCxAgentGitIntegrationSettingsGithubSettings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DialogflowCxAgentGitIntegrationSettingsGithubSettings>- Returns:
- a new instance of
DialogflowCxAgentGitIntegrationSettingsGithubSettings - Throws:
NullPointerException- if any required attribute was not provided
-
-