#[non_exhaustive]pub struct InstanceIdentityBuilder { /* private fields */ }
Expand description
A builder for InstanceIdentity
.
Implementations§
source§impl InstanceIdentityBuilder
impl InstanceIdentityBuilder
sourcepub fn document(self, input: impl Into<String>) -> Self
pub fn document(self, input: impl Into<String>) -> Self
A description of an EC2 instance that is generated when the instance is launched and exposed to the instance via the instance metadata service in the form of a JSON representation of an object.
sourcepub fn set_document(self, input: Option<String>) -> Self
pub fn set_document(self, input: Option<String>) -> Self
A description of an EC2 instance that is generated when the instance is launched and exposed to the instance via the instance metadata service in the form of a JSON representation of an object.
sourcepub fn get_document(&self) -> &Option<String>
pub fn get_document(&self) -> &Option<String>
A description of an EC2 instance that is generated when the instance is launched and exposed to the instance via the instance metadata service in the form of a JSON representation of an object.
sourcepub fn signature(self, input: impl Into<String>) -> Self
pub fn signature(self, input: impl Into<String>) -> Self
A signature which can be used to verify the accuracy and authenticity of the information provided in the instance identity document.
sourcepub fn set_signature(self, input: Option<String>) -> Self
pub fn set_signature(self, input: Option<String>) -> Self
A signature which can be used to verify the accuracy and authenticity of the information provided in the instance identity document.
sourcepub fn get_signature(&self) -> &Option<String>
pub fn get_signature(&self) -> &Option<String>
A signature which can be used to verify the accuracy and authenticity of the information provided in the instance identity document.
sourcepub fn build(self) -> InstanceIdentity
pub fn build(self) -> InstanceIdentity
Consumes the builder and constructs a InstanceIdentity
.
Trait Implementations§
source§impl Clone for InstanceIdentityBuilder
impl Clone for InstanceIdentityBuilder
source§fn clone(&self) -> InstanceIdentityBuilder
fn clone(&self) -> InstanceIdentityBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceIdentityBuilder
impl Debug for InstanceIdentityBuilder
source§impl Default for InstanceIdentityBuilder
impl Default for InstanceIdentityBuilder
source§fn default() -> InstanceIdentityBuilder
fn default() -> InstanceIdentityBuilder
source§impl PartialEq for InstanceIdentityBuilder
impl PartialEq for InstanceIdentityBuilder
impl StructuralPartialEq for InstanceIdentityBuilder
Auto Trait Implementations§
impl Freeze for InstanceIdentityBuilder
impl RefUnwindSafe for InstanceIdentityBuilder
impl Send for InstanceIdentityBuilder
impl Sync for InstanceIdentityBuilder
impl Unpin for InstanceIdentityBuilder
impl UnwindSafe for InstanceIdentityBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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