Struct aws_sdk_emr::model::instance::Builder   
source · pub struct Builder { /* private fields */ }Expand description
A builder for Instance.
Implementations§
source§impl Builder
 
impl Builder
sourcepub fn id(self, input: impl Into<String>) -> Self
 
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier for the instance in Amazon EMR.
sourcepub fn set_id(self, input: Option<String>) -> Self
 
pub fn set_id(self, input: Option<String>) -> Self
The unique identifier for the instance in Amazon EMR.
sourcepub fn ec2_instance_id(self, input: impl Into<String>) -> Self
 
pub fn ec2_instance_id(self, input: impl Into<String>) -> Self
The unique identifier of the instance in Amazon EC2.
sourcepub fn set_ec2_instance_id(self, input: Option<String>) -> Self
 
pub fn set_ec2_instance_id(self, input: Option<String>) -> Self
The unique identifier of the instance in Amazon EC2.
sourcepub fn public_dns_name(self, input: impl Into<String>) -> Self
 
pub fn public_dns_name(self, input: impl Into<String>) -> Self
The public DNS name of the instance.
sourcepub fn set_public_dns_name(self, input: Option<String>) -> Self
 
pub fn set_public_dns_name(self, input: Option<String>) -> Self
The public DNS name of the instance.
sourcepub fn public_ip_address(self, input: impl Into<String>) -> Self
 
pub fn public_ip_address(self, input: impl Into<String>) -> Self
The public IP address of the instance.
sourcepub fn set_public_ip_address(self, input: Option<String>) -> Self
 
pub fn set_public_ip_address(self, input: Option<String>) -> Self
The public IP address of the instance.
sourcepub fn private_dns_name(self, input: impl Into<String>) -> Self
 
pub fn private_dns_name(self, input: impl Into<String>) -> Self
The private DNS name of the instance.
sourcepub fn set_private_dns_name(self, input: Option<String>) -> Self
 
pub fn set_private_dns_name(self, input: Option<String>) -> Self
The private DNS name of the instance.
sourcepub fn private_ip_address(self, input: impl Into<String>) -> Self
 
pub fn private_ip_address(self, input: impl Into<String>) -> Self
The private IP address of the instance.
sourcepub fn set_private_ip_address(self, input: Option<String>) -> Self
 
pub fn set_private_ip_address(self, input: Option<String>) -> Self
The private IP address of the instance.
sourcepub fn status(self, input: InstanceStatus) -> Self
 
pub fn status(self, input: InstanceStatus) -> Self
The current status of the instance.
sourcepub fn set_status(self, input: Option<InstanceStatus>) -> Self
 
pub fn set_status(self, input: Option<InstanceStatus>) -> Self
The current status of the instance.
sourcepub fn instance_group_id(self, input: impl Into<String>) -> Self
 
pub fn instance_group_id(self, input: impl Into<String>) -> Self
The identifier of the instance group to which this instance belongs.
sourcepub fn set_instance_group_id(self, input: Option<String>) -> Self
 
pub fn set_instance_group_id(self, input: Option<String>) -> Self
The identifier of the instance group to which this instance belongs.
sourcepub fn instance_fleet_id(self, input: impl Into<String>) -> Self
 
pub fn instance_fleet_id(self, input: impl Into<String>) -> Self
The unique identifier of the instance fleet to which an EC2 instance belongs.
sourcepub fn set_instance_fleet_id(self, input: Option<String>) -> Self
 
pub fn set_instance_fleet_id(self, input: Option<String>) -> Self
The unique identifier of the instance fleet to which an EC2 instance belongs.
sourcepub fn market(self, input: MarketType) -> Self
 
pub fn market(self, input: MarketType) -> Self
The instance purchasing option. Valid values are ON_DEMAND or SPOT. 
sourcepub fn set_market(self, input: Option<MarketType>) -> Self
 
pub fn set_market(self, input: Option<MarketType>) -> Self
The instance purchasing option. Valid values are ON_DEMAND or SPOT. 
sourcepub fn instance_type(self, input: impl Into<String>) -> Self
 
pub fn instance_type(self, input: impl Into<String>) -> Self
The EC2 instance type, for example m3.xlarge.
sourcepub fn set_instance_type(self, input: Option<String>) -> Self
 
pub fn set_instance_type(self, input: Option<String>) -> Self
The EC2 instance type, for example m3.xlarge.
sourcepub fn ebs_volumes(self, input: EbsVolume) -> Self
 
pub fn ebs_volumes(self, input: EbsVolume) -> Self
Appends an item to ebs_volumes.
To override the contents of this collection use set_ebs_volumes.
The list of Amazon EBS volumes that are attached to this instance.
sourcepub fn set_ebs_volumes(self, input: Option<Vec<EbsVolume>>) -> Self
 
pub fn set_ebs_volumes(self, input: Option<Vec<EbsVolume>>) -> Self
The list of Amazon EBS volumes that are attached to this instance.