Interface RegisterInstanceRequest.Builder

  • Method Details

    • stackId

      The ID of the stack that the instance is to be registered with.

      Parameters:
      stackId - The ID of the stack that the instance is to be registered with.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hostname

      The instance's host name. The following are character limits for instance host names.

      • Linux-based instances: 63 characters

      • Windows-based instances: 15 characters

      Parameters:
      hostname - The instance's host name. The following are character limits for instance host names.

      • Linux-based instances: 63 characters

      • Windows-based instances: 15 characters

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publicIp

      The instance's public IP address.

      Parameters:
      publicIp - The instance's public IP address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • privateIp

      The instance's private IP address.

      Parameters:
      privateIp - The instance's private IP address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rsaPublicKey

      RegisterInstanceRequest.Builder rsaPublicKey(String rsaPublicKey)

      The instances public RSA key. This key is used to encrypt communication between the instance and the service.

      Parameters:
      rsaPublicKey - The instances public RSA key. This key is used to encrypt communication between the instance and the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rsaPublicKeyFingerprint

      RegisterInstanceRequest.Builder rsaPublicKeyFingerprint(String rsaPublicKeyFingerprint)

      The instances public RSA key fingerprint.

      Parameters:
      rsaPublicKeyFingerprint - The instances public RSA key fingerprint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceIdentity

      RegisterInstanceRequest.Builder instanceIdentity(InstanceIdentity instanceIdentity)

      An InstanceIdentity object that contains the instance's identity.

      Parameters:
      instanceIdentity - An InstanceIdentity object that contains the instance's identity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceIdentity

      default RegisterInstanceRequest.Builder instanceIdentity(Consumer<InstanceIdentity.Builder> instanceIdentity)

      An InstanceIdentity object that contains the instance's identity.

      This is a convenience method that creates an instance of the InstanceIdentity.Builder avoiding the need to create one manually via InstanceIdentity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to instanceIdentity(InstanceIdentity).

      Parameters:
      instanceIdentity - a consumer that will call methods on InstanceIdentity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      RegisterInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.