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 CreateHostRequest

    • Constructor Detail

      • CreateHostRequest

        public CreateHostRequest()
    • Method Detail

      • setName

        public void setName(String name)

        The name of the host to be created.

        Parameters:
        name - The name of the host to be created.
      • getName

        public String getName()

        The name of the host to be created.

        Returns:
        The name of the host to be created.
      • withName

        public CreateHostRequest withName(String name)

        The name of the host to be created.

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

        public void setProviderType(String providerType)

        The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.

        Parameters:
        providerType - The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
        See Also:
        ProviderType
      • getProviderType

        public String getProviderType()

        The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.

        Returns:
        The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
        See Also:
        ProviderType
      • withProviderType

        public CreateHostRequest withProviderType(String providerType)

        The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.

        Parameters:
        providerType - The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProviderType
      • withProviderType

        public CreateHostRequest withProviderType(ProviderType providerType)

        The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.

        Parameters:
        providerType - The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProviderType
      • setProviderEndpoint

        public void setProviderEndpoint(String providerEndpoint)

        The endpoint of the infrastructure to be represented by the host after it is created.

        Parameters:
        providerEndpoint - The endpoint of the infrastructure to be represented by the host after it is created.
      • getProviderEndpoint

        public String getProviderEndpoint()

        The endpoint of the infrastructure to be represented by the host after it is created.

        Returns:
        The endpoint of the infrastructure to be represented by the host after it is created.
      • withProviderEndpoint

        public CreateHostRequest withProviderEndpoint(String providerEndpoint)

        The endpoint of the infrastructure to be represented by the host after it is created.

        Parameters:
        providerEndpoint - The endpoint of the infrastructure to be represented by the host after it is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVpcConfiguration

        public void setVpcConfiguration(VpcConfiguration vpcConfiguration)

        The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.

        Parameters:
        vpcConfiguration - The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
      • getVpcConfiguration

        public VpcConfiguration getVpcConfiguration()

        The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.

        Returns:
        The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
      • withVpcConfiguration

        public CreateHostRequest withVpcConfiguration(VpcConfiguration vpcConfiguration)

        The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.

        Parameters:
        vpcConfiguration - The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()

        Tags for the host to be created.

        Returns:
        Tags for the host to be created.
      • setTags

        public void setTags(Collection<Tag> tags)

        Tags for the host to be created.

        Parameters:
        tags - Tags for the host to be created.
      • withTags

        public CreateHostRequest withTags(Tag... tags)

        Tags for the host to be created.

        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 - Tags for the host to be created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public CreateHostRequest withTags(Collection<Tag> tags)

        Tags for the host to be created.

        Parameters:
        tags - Tags for the host 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 によって変換されたページ (->オリジナル) /