Struct aws_sdk_gamelift::operation::delete_scaling_policy::builders::DeleteScalingPolicyInputBuilder
source · #[non_exhaustive]pub struct DeleteScalingPolicyInputBuilder { /* private fields */ }Expand description
A builder for DeleteScalingPolicyInput.
Implementations§
source§impl DeleteScalingPolicyInputBuilder
impl DeleteScalingPolicyInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique.
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 to be deleted. You can use either the fleet ID or ARN value.
This field is required.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 to be deleted. You can use either the fleet ID or ARN value.
sourcepub fn get_fleet_id(&self) -> &Option<String>
pub fn get_fleet_id(&self) -> &Option<String>
A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.
sourcepub fn build(self) -> Result<DeleteScalingPolicyInput, BuildError>
pub fn build(self) -> Result<DeleteScalingPolicyInput, BuildError>
Consumes the builder and constructs a DeleteScalingPolicyInput.
source§impl DeleteScalingPolicyInputBuilder
impl DeleteScalingPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteScalingPolicyOutput, SdkError<DeleteScalingPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteScalingPolicyOutput, SdkError<DeleteScalingPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteScalingPolicyInputBuilder
impl Clone for DeleteScalingPolicyInputBuilder
source§fn clone(&self) -> DeleteScalingPolicyInputBuilder
fn clone(&self) -> DeleteScalingPolicyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DeleteScalingPolicyInputBuilder
impl Default for DeleteScalingPolicyInputBuilder
source§fn default() -> DeleteScalingPolicyInputBuilder
fn default() -> DeleteScalingPolicyInputBuilder
source§impl PartialEq for DeleteScalingPolicyInputBuilder
impl PartialEq for DeleteScalingPolicyInputBuilder
source§fn eq(&self, other: &DeleteScalingPolicyInputBuilder) -> bool
fn eq(&self, other: &DeleteScalingPolicyInputBuilder) -> bool
self and other values to be equal, and is used
by ==.