JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codestarconnections.model

Class CreateSyncConfigurationRequest

    • Constructor Detail

      • CreateSyncConfigurationRequest

        public CreateSyncConfigurationRequest()
    • Method Detail

      • setBranch

        public void setBranch(String branch)

        The branch in the repository from which changes will be synced.

        Parameters:
        branch - The branch in the repository from which changes will be synced.
      • getBranch

        public String getBranch()

        The branch in the repository from which changes will be synced.

        Returns:
        The branch in the repository from which changes will be synced.
      • withBranch

        public CreateSyncConfigurationRequest withBranch(String branch)

        The branch in the repository from which changes will be synced.

        Parameters:
        branch - The branch in the repository from which changes will be synced.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConfigFile

        public void setConfigFile(String configFile)

        The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.

        Parameters:
        configFile - The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.
      • getConfigFile

        public String getConfigFile()

        The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.

        Returns:
        The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.
      • withConfigFile

        public CreateSyncConfigurationRequest withConfigFile(String configFile)

        The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.

        Parameters:
        configFile - The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRepositoryLinkId

        public void setRepositoryLinkId(String repositoryLinkId)

        The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.

        Parameters:
        repositoryLinkId - The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
      • getRepositoryLinkId

        public String getRepositoryLinkId()

        The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.

        Returns:
        The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
      • withRepositoryLinkId

        public CreateSyncConfigurationRequest withRepositoryLinkId(String repositoryLinkId)

        The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.

        Parameters:
        repositoryLinkId - The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setResourceName

        public void setResourceName(String resourceName)

        The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.

        Parameters:
        resourceName - The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.
      • getResourceName

        public String getResourceName()

        The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.

        Returns:
        The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.
      • withResourceName

        public CreateSyncConfigurationRequest withResourceName(String resourceName)

        The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.

        Parameters:
        resourceName - The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRoleArn

        public void setRoleArn(String roleArn)

        The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.

        Parameters:
        roleArn - The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.
      • getRoleArn

        public String getRoleArn()

        The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.

        Returns:
        The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.
      • withRoleArn

        public CreateSyncConfigurationRequest withRoleArn(String roleArn)

        The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.

        Parameters:
        roleArn - The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSyncType

        public void setSyncType(String syncType)

        The type of sync configuration.

        Parameters:
        syncType - The type of sync configuration.
        See Also:
        SyncConfigurationType
      • getSyncType

        public String getSyncType()

        The type of sync configuration.

        Returns:
        The type of sync configuration.
        See Also:
        SyncConfigurationType
      • withSyncType

        public CreateSyncConfigurationRequest withSyncType(String syncType)

        The type of sync configuration.

        Parameters:
        syncType - The type of sync configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SyncConfigurationType
      • setPublishDeploymentStatus

        public void setPublishDeploymentStatus(String publishDeploymentStatus)

        Whether to enable or disable publishing of deployment status to source providers.

        Parameters:
        publishDeploymentStatus - Whether to enable or disable publishing of deployment status to source providers.
        See Also:
        PublishDeploymentStatus
      • getPublishDeploymentStatus

        public String getPublishDeploymentStatus()

        Whether to enable or disable publishing of deployment status to source providers.

        Returns:
        Whether to enable or disable publishing of deployment status to source providers.
        See Also:
        PublishDeploymentStatus
      • withPublishDeploymentStatus

        public CreateSyncConfigurationRequest withPublishDeploymentStatus(String publishDeploymentStatus)

        Whether to enable or disable publishing of deployment status to source providers.

        Parameters:
        publishDeploymentStatus - Whether to enable or disable publishing of deployment status to source providers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PublishDeploymentStatus
      • withPublishDeploymentStatus

        public CreateSyncConfigurationRequest withPublishDeploymentStatus(PublishDeploymentStatus publishDeploymentStatus)

        Whether to enable or disable publishing of deployment status to source providers.

        Parameters:
        publishDeploymentStatus - Whether to enable or disable publishing of deployment status to source providers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PublishDeploymentStatus
      • setTriggerResourceUpdateOn

        public void setTriggerResourceUpdateOn(String triggerResourceUpdateOn)

        When to trigger Git sync to begin the stack update.

        Parameters:
        triggerResourceUpdateOn - When to trigger Git sync to begin the stack update.
        See Also:
        TriggerResourceUpdateOn
      • getTriggerResourceUpdateOn

        public String getTriggerResourceUpdateOn()

        When to trigger Git sync to begin the stack update.

        Returns:
        When to trigger Git sync to begin the stack update.
        See Also:
        TriggerResourceUpdateOn
      • withTriggerResourceUpdateOn

        public CreateSyncConfigurationRequest withTriggerResourceUpdateOn(String triggerResourceUpdateOn)

        When to trigger Git sync to begin the stack update.

        Parameters:
        triggerResourceUpdateOn - When to trigger Git sync to begin the stack update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TriggerResourceUpdateOn
      • withTriggerResourceUpdateOn

        public CreateSyncConfigurationRequest withTriggerResourceUpdateOn(TriggerResourceUpdateOn triggerResourceUpdateOn)

        When to trigger Git sync to begin the stack update.

        Parameters:
        triggerResourceUpdateOn - When to trigger Git sync to begin the stack update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TriggerResourceUpdateOn
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /