#[non_exhaustive]pub struct ReservedInstancesModificationResultBuilder { /* private fields */ }
Expand description
A builder for ReservedInstancesModificationResult
.
Implementations§
source§impl ReservedInstancesModificationResultBuilder
impl ReservedInstancesModificationResultBuilder
sourcepub fn reserved_instances_id(self, input: impl Into<String>) -> Self
pub fn reserved_instances_id(self, input: impl Into<String>) -> Self
The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
sourcepub fn set_reserved_instances_id(self, input: Option<String>) -> Self
pub fn set_reserved_instances_id(self, input: Option<String>) -> Self
The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
sourcepub fn get_reserved_instances_id(&self) -> &Option<String>
pub fn get_reserved_instances_id(&self) -> &Option<String>
The ID for the Reserved Instances that were created as part of the modification request. This field is only available when the modification is fulfilled.
sourcepub fn target_configuration(self, input: ReservedInstancesConfiguration) -> Self
pub fn target_configuration(self, input: ReservedInstancesConfiguration) -> Self
The target Reserved Instances configurations supplied as part of the modification request.
sourcepub fn set_target_configuration(
self,
input: Option<ReservedInstancesConfiguration>
) -> Self
pub fn set_target_configuration( self, input: Option<ReservedInstancesConfiguration> ) -> Self
The target Reserved Instances configurations supplied as part of the modification request.
sourcepub fn get_target_configuration(
&self
) -> &Option<ReservedInstancesConfiguration>
pub fn get_target_configuration( &self ) -> &Option<ReservedInstancesConfiguration>
The target Reserved Instances configurations supplied as part of the modification request.
sourcepub fn build(self) -> ReservedInstancesModificationResult
pub fn build(self) -> ReservedInstancesModificationResult
Consumes the builder and constructs a ReservedInstancesModificationResult
.
Trait Implementations§
source§impl Clone for ReservedInstancesModificationResultBuilder
impl Clone for ReservedInstancesModificationResultBuilder
source§fn clone(&self) -> ReservedInstancesModificationResultBuilder
fn clone(&self) -> ReservedInstancesModificationResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ReservedInstancesModificationResultBuilder
impl Default for ReservedInstancesModificationResultBuilder
source§fn default() -> ReservedInstancesModificationResultBuilder
fn default() -> ReservedInstancesModificationResultBuilder
source§impl PartialEq<ReservedInstancesModificationResultBuilder> for ReservedInstancesModificationResultBuilder
impl PartialEq<ReservedInstancesModificationResultBuilder> for ReservedInstancesModificationResultBuilder
source§fn eq(&self, other: &ReservedInstancesModificationResultBuilder) -> bool
fn eq(&self, other: &ReservedInstancesModificationResultBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.