Interface RegisterInstanceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RegisterInstanceRequest.Builder,RegisterInstanceRequest>,OpsWorksRequest.Builder,SdkBuilder<RegisterInstanceRequest.Builder,RegisterInstanceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RegisterInstanceRequest
public static interface RegisterInstanceRequest.Builder extends OpsWorksRequest.Builder, SdkPojo, CopyableBuilder<RegisterInstanceRequest.Builder,RegisterInstanceRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
stackId
RegisterInstanceRequest.Builder stackId(String 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
RegisterInstanceRequest.Builder hostname(String hostname)
The instance's hostname.
- Parameters:
hostname- The instance's hostname.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicIp
RegisterInstanceRequest.Builder publicIp(String 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
RegisterInstanceRequest.Builder privateIp(String 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 theInstanceIdentity.Builderavoiding the need to create one manually viaInstanceIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceIdentity(InstanceIdentity).- Parameters:
instanceIdentity- a consumer that will call methods onInstanceIdentity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
instanceIdentity(InstanceIdentity)
-
overrideConfiguration
RegisterInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RegisterInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-