#[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
source§fn eq(&self, other: &InstanceIdentityBuilder) -> bool
fn eq(&self, other: &InstanceIdentityBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.