pub struct LaunchInstanceRequest {
pub launch_instance_details: LaunchInstanceDetails,
pub opc_retry_token: Option<String>,
}Fields§
§launch_instance_details: LaunchInstanceDetailsInstance details
opc_retry_token: Option<String>A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
Implementations§
Source§impl LaunchInstanceRequest
impl LaunchInstanceRequest
Sourcepub fn new(required: LaunchInstanceRequestRequired) -> Self
pub fn new(required: LaunchInstanceRequestRequired) -> Self
Create a new LaunchInstanceRequest with required fields
Sourcepub fn set_launch_instance_details(self, value: LaunchInstanceDetails) -> Self
pub fn set_launch_instance_details(self, value: LaunchInstanceDetails) -> Self
Set launch_instance_details
Sourcepub fn set_opc_retry_token(self, value: Option<String>) -> Self
pub fn set_opc_retry_token(self, value: Option<String>) -> Self
Set opc_retry_token
Sourcepub fn with_opc_retry_token(self, value: impl Into<String>) -> Self
pub fn with_opc_retry_token(self, value: impl Into<String>) -> Self
Set opc_retry_token (unwraps Option)
Trait Implementations§
Source§impl Clone for LaunchInstanceRequest
impl Clone for LaunchInstanceRequest
Source§fn clone(&self) -> LaunchInstanceRequest
fn clone(&self) -> LaunchInstanceRequest
Returns a duplicate 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 LaunchInstanceRequest
impl Debug for LaunchInstanceRequest
Source§impl<'de> Deserialize<'de> for LaunchInstanceRequest
impl<'de> Deserialize<'de> for LaunchInstanceRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LaunchInstanceRequest
impl RefUnwindSafe for LaunchInstanceRequest
impl Send for LaunchInstanceRequest
impl Sync for LaunchInstanceRequest
impl Unpin for LaunchInstanceRequest
impl UnsafeUnpin for LaunchInstanceRequest
impl UnwindSafe for LaunchInstanceRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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