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 ==
.