#[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 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 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<InstanceIdentityBuilder> for InstanceIdentityBuilder
impl PartialEq<InstanceIdentityBuilder> for InstanceIdentityBuilder
source§fn eq(&self, other: &InstanceIdentityBuilder) -> bool
fn eq(&self, other: &InstanceIdentityBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceIdentityBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more