#[non_exhaustive]pub struct RegisterInstanceInput {
pub stack_id: Option<String>,
pub hostname: Option<String>,
pub public_ip: Option<String>,
pub private_ip: Option<String>,
pub rsa_public_key: Option<String>,
pub rsa_public_key_fingerprint: Option<String>,
pub instance_identity: Option<InstanceIdentity>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.stack_id: Option<String>
The ID of the stack that the instance is to be registered with.
hostname: Option<String>
The instance's host name. The following are character limits for instance host names.
-
Linux-based instances: 63 characters
-
Windows-based instances: 15 characters
public_ip: Option<String>
The instance's public IP address.
private_ip: Option<String>
The instance's private IP address.
rsa_public_key: Option<String>
The instances public RSA key. This key is used to encrypt communication between the instance and the service.
rsa_public_key_fingerprint: Option<String>
The instances public RSA key fingerprint.
instance_identity: Option<InstanceIdentity>
An InstanceIdentity object that contains the instance's identity.
Implementations§
source§impl RegisterInstanceInput
impl RegisterInstanceInput
sourcepub fn stack_id(&self) -> Option<&str>
pub fn stack_id(&self) -> Option<&str>
The ID of the stack that the instance is to be registered with.
sourcepub fn hostname(&self) -> Option<&str>
pub fn hostname(&self) -> Option<&str>
The instance's host name. The following are character limits for instance host names.
-
Linux-based instances: 63 characters
-
Windows-based instances: 15 characters
sourcepub fn private_ip(&self) -> Option<&str>
pub fn private_ip(&self) -> Option<&str>
The instance's private IP address.
sourcepub fn rsa_public_key(&self) -> Option<&str>
pub fn rsa_public_key(&self) -> Option<&str>
The instances public RSA key. This key is used to encrypt communication between the instance and the service.
sourcepub fn rsa_public_key_fingerprint(&self) -> Option<&str>
pub fn rsa_public_key_fingerprint(&self) -> Option<&str>
The instances public RSA key fingerprint.
sourcepub fn instance_identity(&self) -> Option<&InstanceIdentity>
pub fn instance_identity(&self) -> Option<&InstanceIdentity>
An InstanceIdentity object that contains the instance's identity.
source§impl RegisterInstanceInput
impl RegisterInstanceInput
sourcepub fn builder() -> RegisterInstanceInputBuilder
pub fn builder() -> RegisterInstanceInputBuilder
Creates a new builder-style object to manufacture RegisterInstanceInput
.
Trait Implementations§
source§impl Clone for RegisterInstanceInput
impl Clone for RegisterInstanceInput
source§fn clone(&self) -> RegisterInstanceInput
fn clone(&self) -> RegisterInstanceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RegisterInstanceInput
impl Debug for RegisterInstanceInput
source§impl PartialEq for RegisterInstanceInput
impl PartialEq for RegisterInstanceInput
source§fn eq(&self, other: &RegisterInstanceInput) -> bool
fn eq(&self, other: &RegisterInstanceInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RegisterInstanceInput
Auto Trait Implementations§
impl Freeze for RegisterInstanceInput
impl RefUnwindSafe for RegisterInstanceInput
impl Send for RegisterInstanceInput
impl Sync for RegisterInstanceInput
impl Unpin for RegisterInstanceInput
impl UnwindSafe for RegisterInstanceInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more