Struct aws_sdk_connect::operation::create_view_version::builders::CreateViewVersionInputBuilder
source · #[non_exhaustive]pub struct CreateViewVersionInputBuilder { /* private fields */ }Expand description
A builder for CreateViewVersionInput.
Implementations§
source§impl CreateViewVersionInputBuilder
impl CreateViewVersionInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
This field is required.sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn view_id(self, input: impl Into<String>) -> Self
pub fn view_id(self, input: impl Into<String>) -> Self
The identifier of the view. Both ViewArn and ViewId can be used.
sourcepub fn set_view_id(self, input: Option<String>) -> Self
pub fn set_view_id(self, input: Option<String>) -> Self
The identifier of the view. Both ViewArn and ViewId can be used.
sourcepub fn get_view_id(&self) -> &Option<String>
pub fn get_view_id(&self) -> &Option<String>
The identifier of the view. Both ViewArn and ViewId can be used.
sourcepub fn version_description(self, input: impl Into<String>) -> Self
pub fn version_description(self, input: impl Into<String>) -> Self
The description for the version being published.
sourcepub fn set_version_description(self, input: Option<String>) -> Self
pub fn set_version_description(self, input: Option<String>) -> Self
The description for the version being published.
sourcepub fn get_version_description(&self) -> &Option<String>
pub fn get_version_description(&self) -> &Option<String>
The description for the version being published.
sourcepub fn view_content_sha256(self, input: impl Into<String>) -> Self
pub fn view_content_sha256(self, input: impl Into<String>) -> Self
Indicates the checksum value of the latest published view content.
sourcepub fn set_view_content_sha256(self, input: Option<String>) -> Self
pub fn set_view_content_sha256(self, input: Option<String>) -> Self
Indicates the checksum value of the latest published view content.
sourcepub fn get_view_content_sha256(&self) -> &Option<String>
pub fn get_view_content_sha256(&self) -> &Option<String>
Indicates the checksum value of the latest published view content.
sourcepub fn build(self) -> Result<CreateViewVersionInput, BuildError>
pub fn build(self) -> Result<CreateViewVersionInput, BuildError>
Consumes the builder and constructs a CreateViewVersionInput.
source§impl CreateViewVersionInputBuilder
impl CreateViewVersionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateViewVersionOutput, SdkError<CreateViewVersionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateViewVersionOutput, SdkError<CreateViewVersionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateViewVersionInputBuilder
impl Clone for CreateViewVersionInputBuilder
source§fn clone(&self) -> CreateViewVersionInputBuilder
fn clone(&self) -> CreateViewVersionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateViewVersionInputBuilder
impl Default for CreateViewVersionInputBuilder
source§fn default() -> CreateViewVersionInputBuilder
fn default() -> CreateViewVersionInputBuilder
source§impl PartialEq for CreateViewVersionInputBuilder
impl PartialEq for CreateViewVersionInputBuilder
source§fn eq(&self, other: &CreateViewVersionInputBuilder) -> bool
fn eq(&self, other: &CreateViewVersionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateViewVersionInputBuilder
Auto Trait Implementations§
impl Freeze for CreateViewVersionInputBuilder
impl RefUnwindSafe for CreateViewVersionInputBuilder
impl Send for CreateViewVersionInputBuilder
impl Sync for CreateViewVersionInputBuilder
impl Unpin for CreateViewVersionInputBuilder
impl UnwindSafe for CreateViewVersionInputBuilder
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
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>
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>
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 more