JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

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 SyncConfiguration

    • Constructor Detail

      • SyncConfiguration

        public SyncConfiguration()
    • Method Detail

      • setBranch

        public void setBranch(String branch)

        The branch associated with a specific sync configuration.

        Parameters:
        branch - The branch associated with a specific sync configuration.
      • getBranch

        public String getBranch()

        The branch associated with a specific sync configuration.

        Returns:
        The branch associated with a specific sync configuration.
      • withBranch

        public SyncConfiguration withBranch(String branch)

        The branch associated with a specific sync configuration.

        Parameters:
        branch - The branch associated with a specific sync configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConfigFile

        public void setConfigFile(String configFile)

        The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.

        Parameters:
        configFile - The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.
      • getConfigFile

        public String getConfigFile()

        The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.

        Returns:
        The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.
      • withConfigFile

        public SyncConfiguration withConfigFile(String configFile)

        The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.

        Parameters:
        configFile - The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOwnerId

        public void setOwnerId(String ownerId)

        The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.

        Parameters:
        ownerId - The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
      • getOwnerId

        public String getOwnerId()

        The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.

        Returns:
        The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
      • withOwnerId

        public SyncConfiguration withOwnerId(String ownerId)

        The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.

        Parameters:
        ownerId - The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setProviderType

        public void setProviderType(String providerType)

        The connection provider type associated with a specific sync configuration, such as GitHub.

        Parameters:
        providerType - The connection provider type associated with a specific sync configuration, such as GitHub.
        See Also:
        ProviderType
      • getProviderType

        public String getProviderType()

        The connection provider type associated with a specific sync configuration, such as GitHub.

        Returns:
        The connection provider type associated with a specific sync configuration, such as GitHub.
        See Also:
        ProviderType
      • withProviderType

        public SyncConfiguration withProviderType(String providerType)

        The connection provider type associated with a specific sync configuration, such as GitHub.

        Parameters:
        providerType - The connection provider type associated with a specific sync configuration, such as GitHub.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProviderType
      • withProviderType

        public SyncConfiguration withProviderType(ProviderType providerType)

        The connection provider type associated with a specific sync configuration, such as GitHub.

        Parameters:
        providerType - The connection provider type associated with a specific sync configuration, such as GitHub.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProviderType
      • setRepositoryLinkId

        public void setRepositoryLinkId(String repositoryLinkId)

        The ID of the repository link associated with a specific sync configuration.

        Parameters:
        repositoryLinkId - The ID of the repository link associated with a specific sync configuration.
      • getRepositoryLinkId

        public String getRepositoryLinkId()

        The ID of the repository link associated with a specific sync configuration.

        Returns:
        The ID of the repository link associated with a specific sync configuration.
      • withRepositoryLinkId

        public SyncConfiguration withRepositoryLinkId(String repositoryLinkId)

        The ID of the repository link associated with a specific sync configuration.

        Parameters:
        repositoryLinkId - The ID of the repository link associated with a specific sync configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRepositoryName

        public void setRepositoryName(String repositoryName)

        The name of the repository associated with a specific sync configuration.

        Parameters:
        repositoryName - The name of the repository associated with a specific sync configuration.
      • getRepositoryName

        public String getRepositoryName()

        The name of the repository associated with a specific sync configuration.

        Returns:
        The name of the repository associated with a specific sync configuration.
      • withRepositoryName

        public SyncConfiguration withRepositoryName(String repositoryName)

        The name of the repository associated with a specific sync configuration.

        Parameters:
        repositoryName - The name of the repository associated with a specific sync configuration.
        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 connection resource associated with a specific sync configuration.

        Parameters:
        resourceName - The name of the connection resource associated with a specific sync configuration.
      • getResourceName

        public String getResourceName()

        The name of the connection resource associated with a specific sync configuration.

        Returns:
        The name of the connection resource associated with a specific sync configuration.
      • withResourceName

        public SyncConfiguration withResourceName(String resourceName)

        The name of the connection resource associated with a specific sync configuration.

        Parameters:
        resourceName - The name of the connection resource associated with a specific sync configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRoleArn

        public void setRoleArn(String roleArn)

        The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.
      • getRoleArn

        public String getRoleArn()

        The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.

        Returns:
        The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.
      • withRoleArn

        public SyncConfiguration withRoleArn(String roleArn)

        The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.
        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 for a specific sync configuration.

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

        public String getSyncType()

        The type of sync for a specific sync configuration.

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

        public SyncConfiguration withSyncType(String syncType)

        The type of sync for a specific sync configuration.

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

        public SyncConfiguration withSyncType(SyncConfigurationType syncType)

        The type of sync for a specific sync configuration.

        Parameters:
        syncType - The type of sync for a specific 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 SyncConfiguration 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 SyncConfiguration 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 SyncConfiguration 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 SyncConfiguration 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 によって変換されたページ (->オリジナル) /