Interface RegisterInstanceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RegisterInstanceRequest.Builder,,RegisterInstanceRequest> OpsWorksRequest.Builder,SdkBuilder<RegisterInstanceRequest.Builder,,RegisterInstanceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RegisterInstanceRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe instance's host name.default RegisterInstanceRequest.BuilderinstanceIdentity(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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 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
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.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:
-
overrideConfiguration
RegisterInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-