Struct aws_sdk_bedrock::operation::get_provisioned_model_throughput::builders::GetProvisionedModelThroughputOutputBuilder
source · #[non_exhaustive]pub struct GetProvisionedModelThroughputOutputBuilder { /* private fields */ }Expand description
A builder for GetProvisionedModelThroughputOutput.
Implementations§
source§impl GetProvisionedModelThroughputOutputBuilder
impl GetProvisionedModelThroughputOutputBuilder
sourcepub fn model_units(self, input: i32) -> Self
pub fn model_units(self, input: i32) -> Self
The current number of model units requested to be available for this provisioned throughput.
sourcepub fn set_model_units(self, input: Option<i32>) -> Self
pub fn set_model_units(self, input: Option<i32>) -> Self
The current number of model units requested to be available for this provisioned throughput.
sourcepub fn get_model_units(&self) -> &Option<i32>
pub fn get_model_units(&self) -> &Option<i32>
The current number of model units requested to be available for this provisioned throughput.
sourcepub fn desired_model_units(self, input: i32) -> Self
pub fn desired_model_units(self, input: i32) -> Self
The desired number of model units that was requested to be available for this provisioned throughput.
sourcepub fn set_desired_model_units(self, input: Option<i32>) -> Self
pub fn set_desired_model_units(self, input: Option<i32>) -> Self
The desired number of model units that was requested to be available for this provisioned throughput.
sourcepub fn get_desired_model_units(&self) -> &Option<i32>
pub fn get_desired_model_units(&self) -> &Option<i32>
The desired number of model units that was requested to be available for this provisioned throughput.
sourcepub fn provisioned_model_name(self, input: impl Into<String>) -> Self
pub fn provisioned_model_name(self, input: impl Into<String>) -> Self
The name of the provisioned throughput.
sourcepub fn set_provisioned_model_name(self, input: Option<String>) -> Self
pub fn set_provisioned_model_name(self, input: Option<String>) -> Self
The name of the provisioned throughput.
sourcepub fn get_provisioned_model_name(&self) -> &Option<String>
pub fn get_provisioned_model_name(&self) -> &Option<String>
The name of the provisioned throughput.
sourcepub fn provisioned_model_arn(self, input: impl Into<String>) -> Self
pub fn provisioned_model_arn(self, input: impl Into<String>) -> Self
The ARN of the provisioned throughput.
sourcepub fn set_provisioned_model_arn(self, input: Option<String>) -> Self
pub fn set_provisioned_model_arn(self, input: Option<String>) -> Self
The ARN of the provisioned throughput.
sourcepub fn get_provisioned_model_arn(&self) -> &Option<String>
pub fn get_provisioned_model_arn(&self) -> &Option<String>
The ARN of the provisioned throughput.
sourcepub fn model_arn(self, input: impl Into<String>) -> Self
pub fn model_arn(self, input: impl Into<String>) -> Self
The ARN or name of the model associated with this provisioned throughput.
sourcepub fn set_model_arn(self, input: Option<String>) -> Self
pub fn set_model_arn(self, input: Option<String>) -> Self
The ARN or name of the model associated with this provisioned throughput.
sourcepub fn get_model_arn(&self) -> &Option<String>
pub fn get_model_arn(&self) -> &Option<String>
The ARN or name of the model associated with this provisioned throughput.
sourcepub fn desired_model_arn(self, input: impl Into<String>) -> Self
pub fn desired_model_arn(self, input: impl Into<String>) -> Self
The ARN of the new model to asssociate with this provisioned throughput.
sourcepub fn set_desired_model_arn(self, input: Option<String>) -> Self
pub fn set_desired_model_arn(self, input: Option<String>) -> Self
The ARN of the new model to asssociate with this provisioned throughput.
sourcepub fn get_desired_model_arn(&self) -> &Option<String>
pub fn get_desired_model_arn(&self) -> &Option<String>
The ARN of the new model to asssociate with this provisioned throughput.
sourcepub fn foundation_model_arn(self, input: impl Into<String>) -> Self
pub fn foundation_model_arn(self, input: impl Into<String>) -> Self
ARN of the foundation model.
sourcepub fn set_foundation_model_arn(self, input: Option<String>) -> Self
pub fn set_foundation_model_arn(self, input: Option<String>) -> Self
ARN of the foundation model.
sourcepub fn get_foundation_model_arn(&self) -> &Option<String>
pub fn get_foundation_model_arn(&self) -> &Option<String>
ARN of the foundation model.
sourcepub fn status(self, input: ProvisionedModelStatus) -> Self
pub fn status(self, input: ProvisionedModelStatus) -> Self
Status of the provisioned throughput.
sourcepub fn set_status(self, input: Option<ProvisionedModelStatus>) -> Self
pub fn set_status(self, input: Option<ProvisionedModelStatus>) -> Self
Status of the provisioned throughput.
sourcepub fn get_status(&self) -> &Option<ProvisionedModelStatus>
pub fn get_status(&self) -> &Option<ProvisionedModelStatus>
Status of the provisioned throughput.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The timestamp of the creation time for this provisioned throughput.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The timestamp of the creation time for this provisioned throughput.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The timestamp of the creation time for this provisioned throughput.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The timestamp of the last modified time of this provisioned throughput.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The timestamp of the last modified time of this provisioned throughput.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
The timestamp of the last modified time of this provisioned throughput.
sourcepub fn failure_message(self, input: impl Into<String>) -> Self
pub fn failure_message(self, input: impl Into<String>) -> Self
Failure message for any issues that the create operation encounters.
sourcepub fn set_failure_message(self, input: Option<String>) -> Self
pub fn set_failure_message(self, input: Option<String>) -> Self
Failure message for any issues that the create operation encounters.
sourcepub fn get_failure_message(&self) -> &Option<String>
pub fn get_failure_message(&self) -> &Option<String>
Failure message for any issues that the create operation encounters.
sourcepub fn commitment_duration(self, input: CommitmentDuration) -> Self
pub fn commitment_duration(self, input: CommitmentDuration) -> Self
Commitment duration of the provisioned throughput.
sourcepub fn set_commitment_duration(self, input: Option<CommitmentDuration>) -> Self
pub fn set_commitment_duration(self, input: Option<CommitmentDuration>) -> Self
Commitment duration of the provisioned throughput.
sourcepub fn get_commitment_duration(&self) -> &Option<CommitmentDuration>
pub fn get_commitment_duration(&self) -> &Option<CommitmentDuration>
Commitment duration of the provisioned throughput.
sourcepub fn commitment_expiration_time(self, input: DateTime) -> Self
pub fn commitment_expiration_time(self, input: DateTime) -> Self
Commitment expiration time for the provisioned throughput.
sourcepub fn set_commitment_expiration_time(self, input: Option<DateTime>) -> Self
pub fn set_commitment_expiration_time(self, input: Option<DateTime>) -> Self
Commitment expiration time for the provisioned throughput.
sourcepub fn get_commitment_expiration_time(&self) -> &Option<DateTime>
pub fn get_commitment_expiration_time(&self) -> &Option<DateTime>
Commitment expiration time for the provisioned throughput.
sourcepub fn build(self) -> GetProvisionedModelThroughputOutput
pub fn build(self) -> GetProvisionedModelThroughputOutput
Consumes the builder and constructs a GetProvisionedModelThroughputOutput.
Trait Implementations§
source§impl Clone for GetProvisionedModelThroughputOutputBuilder
impl Clone for GetProvisionedModelThroughputOutputBuilder
source§fn clone(&self) -> GetProvisionedModelThroughputOutputBuilder
fn clone(&self) -> GetProvisionedModelThroughputOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetProvisionedModelThroughputOutputBuilder
impl Default for GetProvisionedModelThroughputOutputBuilder
source§fn default() -> GetProvisionedModelThroughputOutputBuilder
fn default() -> GetProvisionedModelThroughputOutputBuilder
source§impl PartialEq for GetProvisionedModelThroughputOutputBuilder
impl PartialEq for GetProvisionedModelThroughputOutputBuilder
source§fn eq(&self, other: &GetProvisionedModelThroughputOutputBuilder) -> bool
fn eq(&self, other: &GetProvisionedModelThroughputOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.