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.codeconnections.model

Class CreateConnectionRequest

    • Constructor Detail

      • CreateConnectionRequest

        public CreateConnectionRequest()
    • Method Detail

      • setProviderType

        public void setProviderType(String providerType)

        The name of the external provider where your third-party code repository is configured.

        Parameters:
        providerType - The name of the external provider where your third-party code repository is configured.
        See Also:
        ProviderType
      • getProviderType

        public String getProviderType()

        The name of the external provider where your third-party code repository is configured.

        Returns:
        The name of the external provider where your third-party code repository is configured.
        See Also:
        ProviderType
      • withProviderType

        public CreateConnectionRequest withProviderType(String providerType)

        The name of the external provider where your third-party code repository is configured.

        Parameters:
        providerType - The name of the external provider where your third-party code repository is configured.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProviderType
      • withProviderType

        public CreateConnectionRequest withProviderType(ProviderType providerType)

        The name of the external provider where your third-party code repository is configured.

        Parameters:
        providerType - The name of the external provider where your third-party code repository is configured.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProviderType
      • setConnectionName

        public void setConnectionName(String connectionName)

        The name of the connection to be created.

        Parameters:
        connectionName - The name of the connection to be created.
      • getConnectionName

        public String getConnectionName()

        The name of the connection to be created.

        Returns:
        The name of the connection to be created.
      • withConnectionName

        public CreateConnectionRequest withConnectionName(String connectionName)

        The name of the connection to be created.

        Parameters:
        connectionName - The name of the connection to be created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()

        The key-value pair to use when tagging the resource.

        Returns:
        The key-value pair to use when tagging the resource.
      • setTags

        public void setTags(Collection<Tag> tags)

        The key-value pair to use when tagging the resource.

        Parameters:
        tags - The key-value pair to use when tagging the resource.
      • withTags

        public CreateConnectionRequest withTags(Tag... tags)

        The key-value pair to use when tagging the resource.

        NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

        Parameters:
        tags - The key-value pair to use when tagging the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public CreateConnectionRequest withTags(Collection<Tag> tags)

        The key-value pair to use when tagging the resource.

        Parameters:
        tags - The key-value pair to use when tagging the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setHostArn

        public void setHostArn(String hostArn)

        The Amazon Resource Name (ARN) of the host associated with the connection to be created.

        Parameters:
        hostArn - The Amazon Resource Name (ARN) of the host associated with the connection to be created.
      • getHostArn

        public String getHostArn()

        The Amazon Resource Name (ARN) of the host associated with the connection to be created.

        Returns:
        The Amazon Resource Name (ARN) of the host associated with the connection to be created.
      • withHostArn

        public CreateConnectionRequest withHostArn(String hostArn)

        The Amazon Resource Name (ARN) of the host associated with the connection to be created.

        Parameters:
        hostArn - The Amazon Resource Name (ARN) of the host associated with the connection to be created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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 によって変換されたページ (->オリジナル) /