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

Class SendSSHPublicKeyRequest

    • Constructor Detail

      • SendSSHPublicKeyRequest

        public SendSSHPublicKeyRequest()
    • Method Detail

      • setInstanceId

        public void setInstanceId(String instanceId)

        The ID of the EC2 instance.

        Parameters:
        instanceId - The ID of the EC2 instance.
      • getInstanceId

        public String getInstanceId()

        The ID of the EC2 instance.

        Returns:
        The ID of the EC2 instance.
      • withInstanceId

        public SendSSHPublicKeyRequest withInstanceId(String instanceId)

        The ID of the EC2 instance.

        Parameters:
        instanceId - The ID of the EC2 instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceOSUser

        public void setInstanceOSUser(String instanceOSUser)

        The OS user on the EC2 instance for whom the key can be used to authenticate.

        Parameters:
        instanceOSUser - The OS user on the EC2 instance for whom the key can be used to authenticate.
      • getInstanceOSUser

        public String getInstanceOSUser()

        The OS user on the EC2 instance for whom the key can be used to authenticate.

        Returns:
        The OS user on the EC2 instance for whom the key can be used to authenticate.
      • withInstanceOSUser

        public SendSSHPublicKeyRequest withInstanceOSUser(String instanceOSUser)

        The OS user on the EC2 instance for whom the key can be used to authenticate.

        Parameters:
        instanceOSUser - The OS user on the EC2 instance for whom the key can be used to authenticate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSSHPublicKey

        public void setSSHPublicKey(String sSHPublicKey)

        The public key material. To use the public key, you must have the matching private key.

        Parameters:
        sSHPublicKey - The public key material. To use the public key, you must have the matching private key.
      • getSSHPublicKey

        public String getSSHPublicKey()

        The public key material. To use the public key, you must have the matching private key.

        Returns:
        The public key material. To use the public key, you must have the matching private key.
      • withSSHPublicKey

        public SendSSHPublicKeyRequest withSSHPublicKey(String sSHPublicKey)

        The public key material. To use the public key, you must have the matching private key.

        Parameters:
        sSHPublicKey - The public key material. To use the public key, you must have the matching private key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAvailabilityZone

        public void setAvailabilityZone(String availabilityZone)

        The Availability Zone in which the EC2 instance was launched.

        Parameters:
        availabilityZone - The Availability Zone in which the EC2 instance was launched.
      • getAvailabilityZone

        public String getAvailabilityZone()

        The Availability Zone in which the EC2 instance was launched.

        Returns:
        The Availability Zone in which the EC2 instance was launched.
      • withAvailabilityZone

        public SendSSHPublicKeyRequest withAvailabilityZone(String availabilityZone)

        The Availability Zone in which the EC2 instance was launched.

        Parameters:
        availabilityZone - The Availability Zone in which the EC2 instance was launched.
        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 によって変換されたページ (->オリジナル) /