Struct aws_sdk_connect::operation::create_view_version::builders::CreateViewVersionFluentBuilder
source · pub struct CreateViewVersionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateViewVersion
.
Publishes a new version of the view identifier.
Versions are immutable and monotonically increasing.
It returns the highest version if there is no change in content compared to that version. An error is displayed if the supplied ViewContentSha256 is different from the ViewContentSha256 of the $LATEST
alias.
Implementations§
source§impl CreateViewVersionFluentBuilder
impl CreateViewVersionFluentBuilder
sourcepub fn as_input(&self) -> &CreateViewVersionInputBuilder
pub fn as_input(&self) -> &CreateViewVersionInputBuilder
Access the CreateViewVersion as a reference.
sourcepub async fn send(
self
) -> Result<CreateViewVersionOutput, SdkError<CreateViewVersionError, HttpResponse>>
pub async fn send( self ) -> Result<CreateViewVersionOutput, SdkError<CreateViewVersionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateViewVersionOutput, CreateViewVersionError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateViewVersionOutput, CreateViewVersionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
Trait Implementations§
source§impl Clone for CreateViewVersionFluentBuilder
impl Clone for CreateViewVersionFluentBuilder
source§fn clone(&self) -> CreateViewVersionFluentBuilder
fn clone(&self) -> CreateViewVersionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more