Struct aws_sdk_ec2::model::elastic_gpu_association::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ElasticGpuAssociation
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn elastic_gpu_id(self, input: impl Into<String>) -> Self
pub fn elastic_gpu_id(self, input: impl Into<String>) -> Self
The ID of the Elastic Graphics accelerator.
sourcepub fn set_elastic_gpu_id(self, input: Option<String>) -> Self
pub fn set_elastic_gpu_id(self, input: Option<String>) -> Self
The ID of the Elastic Graphics accelerator.
sourcepub fn elastic_gpu_association_id(self, input: impl Into<String>) -> Self
pub fn elastic_gpu_association_id(self, input: impl Into<String>) -> Self
The ID of the association.
sourcepub fn set_elastic_gpu_association_id(self, input: Option<String>) -> Self
pub fn set_elastic_gpu_association_id(self, input: Option<String>) -> Self
The ID of the association.
sourcepub fn elastic_gpu_association_state(self, input: impl Into<String>) -> Self
pub fn elastic_gpu_association_state(self, input: impl Into<String>) -> Self
The state of the association between the instance and the Elastic Graphics accelerator.
sourcepub fn set_elastic_gpu_association_state(self, input: Option<String>) -> Self
pub fn set_elastic_gpu_association_state(self, input: Option<String>) -> Self
The state of the association between the instance and the Elastic Graphics accelerator.
sourcepub fn elastic_gpu_association_time(self, input: impl Into<String>) -> Self
pub fn elastic_gpu_association_time(self, input: impl Into<String>) -> Self
The time the Elastic Graphics accelerator was associated with the instance.
sourcepub fn set_elastic_gpu_association_time(self, input: Option<String>) -> Self
pub fn set_elastic_gpu_association_time(self, input: Option<String>) -> Self
The time the Elastic Graphics accelerator was associated with the instance.
sourcepub fn build(self) -> ElasticGpuAssociation
pub fn build(self) -> ElasticGpuAssociation
Consumes the builder and constructs a ElasticGpuAssociation
.