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
Modifier and TypeMethodDescriptionThe instance's hostname.default RegisterInstanceRequest.Builder
instanceIdentity
(Consumer<InstanceIdentity.Builder> instanceIdentity) An InstanceIdentity object that contains the instance's identity.instanceIdentity
(InstanceIdentity instanceIdentity) An InstanceIdentity object that contains the instance's identity.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The instance's private IP address.The instance's public IP address.rsaPublicKey
(String rsaPublicKey) The instances public RSA key.rsaPublicKeyFingerprint
(String rsaPublicKeyFingerprint) The instances public RSA key fingerprint.The ID of the stack that the instance is to be registered with.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 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 hostname.
- Parameters:
hostname
- The instance's hostname.- 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
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
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
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.Builder
avoiding the need to create one manually viaInstanceIdentity.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
RegisterInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RegisterInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-