Struct aws_sdk_codedeploy::types::builders::RawStringBuilder
source · #[non_exhaustive]pub struct RawStringBuilder { /* private fields */ }
Expand description
A builder for RawString
.
Implementations§
source§impl RawStringBuilder
impl RawStringBuilder
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function to update and optional Lambda functions that validate deployment lifecycle events.
sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function to update and optional Lambda functions that validate deployment lifecycle events.
sourcepub fn get_content(&self) -> &Option<String>
pub fn get_content(&self) -> &Option<String>
The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function to update and optional Lambda functions that validate deployment lifecycle events.
sourcepub fn sha256(self, input: impl Into<String>) -> Self
pub fn sha256(self, input: impl Into<String>) -> Self
The SHA256 hash value of the revision content.
sourcepub fn set_sha256(self, input: Option<String>) -> Self
pub fn set_sha256(self, input: Option<String>) -> Self
The SHA256 hash value of the revision content.
sourcepub fn get_sha256(&self) -> &Option<String>
pub fn get_sha256(&self) -> &Option<String>
The SHA256 hash value of the revision content.
Trait Implementations§
source§impl Clone for RawStringBuilder
impl Clone for RawStringBuilder
source§fn clone(&self) -> RawStringBuilder
fn clone(&self) -> RawStringBuilder
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 RawStringBuilder
impl Debug for RawStringBuilder
source§impl Default for RawStringBuilder
impl Default for RawStringBuilder
source§fn default() -> RawStringBuilder
fn default() -> RawStringBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RawStringBuilder
impl PartialEq for RawStringBuilder
source§fn eq(&self, other: &RawStringBuilder) -> bool
fn eq(&self, other: &RawStringBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RawStringBuilder
Auto Trait Implementations§
impl Freeze for RawStringBuilder
impl RefUnwindSafe for RawStringBuilder
impl Send for RawStringBuilder
impl Sync for RawStringBuilder
impl Unpin for RawStringBuilder
impl UnwindSafe for RawStringBuilder
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.