Struct aws_sdk_gamelift::types::builders::ComputeBuilder
source · #[non_exhaustive]pub struct ComputeBuilder { /* private fields */ }Expand description
A builder for Compute.
Implementations§
source§impl ComputeBuilder
impl ComputeBuilder
sourcepub fn fleet_id(self, input: impl Into<String>) -> Self
pub fn fleet_id(self, input: impl Into<String>) -> Self
A unique identifier for the fleet that the compute is registered to.
sourcepub fn set_fleet_id(self, input: Option<String>) -> Self
pub fn set_fleet_id(self, input: Option<String>) -> Self
A unique identifier for the fleet that the compute is registered to.
sourcepub fn get_fleet_id(&self) -> &Option<String>
pub fn get_fleet_id(&self) -> &Option<String>
A unique identifier for the fleet that the compute is registered to.
sourcepub fn fleet_arn(self, input: impl Into<String>) -> Self
pub fn fleet_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the fleet that the compute is registered to.
sourcepub fn set_fleet_arn(self, input: Option<String>) -> Self
pub fn set_fleet_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the fleet that the compute is registered to.
sourcepub fn get_fleet_arn(&self) -> &Option<String>
pub fn get_fleet_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the fleet that the compute is registered to.
sourcepub fn compute_name(self, input: impl Into<String>) -> Self
pub fn compute_name(self, input: impl Into<String>) -> Self
A descriptive label that is associated with the compute resource registered to your fleet.
sourcepub fn set_compute_name(self, input: Option<String>) -> Self
pub fn set_compute_name(self, input: Option<String>) -> Self
A descriptive label that is associated with the compute resource registered to your fleet.
sourcepub fn get_compute_name(&self) -> &Option<String>
pub fn get_compute_name(&self) -> &Option<String>
A descriptive label that is associated with the compute resource registered to your fleet.
sourcepub fn compute_arn(self, input: impl Into<String>) -> Self
pub fn compute_arn(self, input: impl Into<String>) -> Self
The ARN that is assigned to the compute resource and uniquely identifies it. ARNs are unique across locations.
sourcepub fn set_compute_arn(self, input: Option<String>) -> Self
pub fn set_compute_arn(self, input: Option<String>) -> Self
The ARN that is assigned to the compute resource and uniquely identifies it. ARNs are unique across locations.
sourcepub fn get_compute_arn(&self) -> &Option<String>
pub fn get_compute_arn(&self) -> &Option<String>
The ARN that is assigned to the compute resource and uniquely identifies it. ARNs are unique across locations.
sourcepub fn ip_address(self, input: impl Into<String>) -> Self
pub fn ip_address(self, input: impl Into<String>) -> Self
The IP address of the compute resource. Amazon GameLift requires the DNS name or IP address to manage your compute resource.
sourcepub fn set_ip_address(self, input: Option<String>) -> Self
pub fn set_ip_address(self, input: Option<String>) -> Self
The IP address of the compute resource. Amazon GameLift requires the DNS name or IP address to manage your compute resource.
sourcepub fn get_ip_address(&self) -> &Option<String>
pub fn get_ip_address(&self) -> &Option<String>
The IP address of the compute resource. Amazon GameLift requires the DNS name or IP address to manage your compute resource.
sourcepub fn dns_name(self, input: impl Into<String>) -> Self
pub fn dns_name(self, input: impl Into<String>) -> Self
The DNS name of the compute resource. Amazon GameLift requires the DNS name or IP address to manage your compute resource.
sourcepub fn set_dns_name(self, input: Option<String>) -> Self
pub fn set_dns_name(self, input: Option<String>) -> Self
The DNS name of the compute resource. Amazon GameLift requires the DNS name or IP address to manage your compute resource.
sourcepub fn get_dns_name(&self) -> &Option<String>
pub fn get_dns_name(&self) -> &Option<String>
The DNS name of the compute resource. Amazon GameLift requires the DNS name or IP address to manage your compute resource.
sourcepub fn compute_status(self, input: ComputeStatus) -> Self
pub fn compute_status(self, input: ComputeStatus) -> Self
Current status of the compute. A compute must have an ACTIVE status to host game sessions.
sourcepub fn set_compute_status(self, input: Option<ComputeStatus>) -> Self
pub fn set_compute_status(self, input: Option<ComputeStatus>) -> Self
Current status of the compute. A compute must have an ACTIVE status to host game sessions.
sourcepub fn get_compute_status(&self) -> &Option<ComputeStatus>
pub fn get_compute_status(&self) -> &Option<ComputeStatus>
Current status of the compute. A compute must have an ACTIVE status to host game sessions.
sourcepub fn location(self, input: impl Into<String>) -> Self
pub fn location(self, input: impl Into<String>) -> Self
The name of the custom location you added to the fleet that this compute resource resides in.
sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The name of the custom location you added to the fleet that this compute resource resides in.
sourcepub fn get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
The name of the custom location you added to the fleet that this compute resource resides in.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
sourcepub fn operating_system(self, input: OperatingSystem) -> Self
pub fn operating_system(self, input: OperatingSystem) -> Self
The type of operating system on your compute resource.
sourcepub fn set_operating_system(self, input: Option<OperatingSystem>) -> Self
pub fn set_operating_system(self, input: Option<OperatingSystem>) -> Self
The type of operating system on your compute resource.
sourcepub fn get_operating_system(&self) -> &Option<OperatingSystem>
pub fn get_operating_system(&self) -> &Option<OperatingSystem>
The type of operating system on your compute resource.
sourcepub fn type(self, input: Ec2InstanceType) -> Self
pub fn type(self, input: Ec2InstanceType) -> Self
The compute type that the fleet uses. A fleet can use Anywhere compute resources that you own, or use managed Amazon EC2 instances.
sourcepub fn set_type(self, input: Option<Ec2InstanceType>) -> Self
pub fn set_type(self, input: Option<Ec2InstanceType>) -> Self
The compute type that the fleet uses. A fleet can use Anywhere compute resources that you own, or use managed Amazon EC2 instances.
sourcepub fn get_type(&self) -> &Option<Ec2InstanceType>
pub fn get_type(&self) -> &Option<Ec2InstanceType>
The compute type that the fleet uses. A fleet can use Anywhere compute resources that you own, or use managed Amazon EC2 instances.
sourcepub fn game_lift_service_sdk_endpoint(self, input: impl Into<String>) -> Self
pub fn game_lift_service_sdk_endpoint(self, input: impl Into<String>) -> Self
The endpoint connection details of the Amazon GameLift SDK endpoint that your game server connects to.
sourcepub fn set_game_lift_service_sdk_endpoint(self, input: Option<String>) -> Self
pub fn set_game_lift_service_sdk_endpoint(self, input: Option<String>) -> Self
The endpoint connection details of the Amazon GameLift SDK endpoint that your game server connects to.
sourcepub fn get_game_lift_service_sdk_endpoint(&self) -> &Option<String>
pub fn get_game_lift_service_sdk_endpoint(&self) -> &Option<String>
The endpoint connection details of the Amazon GameLift SDK endpoint that your game server connects to.
Trait Implementations§
source§impl Clone for ComputeBuilder
impl Clone for ComputeBuilder
source§fn clone(&self) -> ComputeBuilder
fn clone(&self) -> ComputeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ComputeBuilder
impl Debug for ComputeBuilder
source§impl Default for ComputeBuilder
impl Default for ComputeBuilder
source§fn default() -> ComputeBuilder
fn default() -> ComputeBuilder
source§impl PartialEq<ComputeBuilder> for ComputeBuilder
impl PartialEq<ComputeBuilder> for ComputeBuilder
source§fn eq(&self, other: &ComputeBuilder) -> bool
fn eq(&self, other: &ComputeBuilder) -> bool
self and other values to be equal, and is used
by ==.