#[non_exhaustive]pub struct SetupHistoryResourceBuilder { /* private fields */ }
Expand description
A builder for SetupHistoryResource
.
Implementations§
source§impl SetupHistoryResourceBuilder
impl SetupHistoryResourceBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Lightsail resource.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Lightsail resource.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Lightsail resource.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp for when the resource was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp for when the resource was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp for when the resource was created.
sourcepub fn location(self, input: ResourceLocation) -> Self
pub fn location(self, input: ResourceLocation) -> Self
Describes the resource location.
sourcepub fn set_location(self, input: Option<ResourceLocation>) -> Self
pub fn set_location(self, input: Option<ResourceLocation>) -> Self
Describes the resource location.
sourcepub fn get_location(&self) -> &Option<ResourceLocation>
pub fn get_location(&self) -> &Option<ResourceLocation>
Describes the resource location.
sourcepub fn resource_type(self, input: ResourceType) -> Self
pub fn resource_type(self, input: ResourceType) -> Self
The Lightsail resource type. For example, Instance
.
sourcepub fn set_resource_type(self, input: Option<ResourceType>) -> Self
pub fn set_resource_type(self, input: Option<ResourceType>) -> Self
The Lightsail resource type. For example, Instance
.
sourcepub fn get_resource_type(&self) -> &Option<ResourceType>
pub fn get_resource_type(&self) -> &Option<ResourceType>
The Lightsail resource type. For example, Instance
.
sourcepub fn build(self) -> SetupHistoryResource
pub fn build(self) -> SetupHistoryResource
Consumes the builder and constructs a SetupHistoryResource
.
Trait Implementations§
source§impl Clone for SetupHistoryResourceBuilder
impl Clone for SetupHistoryResourceBuilder
source§fn clone(&self) -> SetupHistoryResourceBuilder
fn clone(&self) -> SetupHistoryResourceBuilder
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 SetupHistoryResourceBuilder
impl Debug for SetupHistoryResourceBuilder
source§impl Default for SetupHistoryResourceBuilder
impl Default for SetupHistoryResourceBuilder
source§fn default() -> SetupHistoryResourceBuilder
fn default() -> SetupHistoryResourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SetupHistoryResourceBuilder
impl PartialEq for SetupHistoryResourceBuilder
source§fn eq(&self, other: &SetupHistoryResourceBuilder) -> bool
fn eq(&self, other: &SetupHistoryResourceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetupHistoryResourceBuilder
Auto Trait Implementations§
impl Freeze for SetupHistoryResourceBuilder
impl RefUnwindSafe for SetupHistoryResourceBuilder
impl Send for SetupHistoryResourceBuilder
impl Sync for SetupHistoryResourceBuilder
impl Unpin for SetupHistoryResourceBuilder
impl UnwindSafe for SetupHistoryResourceBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.