Struct aws_sdk_eks::operation::delete_fargate_profile::builders::DeleteFargateProfileFluentBuilder
source · pub struct DeleteFargateProfileFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteFargateProfile.
Deletes an Fargate profile.
When you delete a Fargate profile, any Pod running on Fargate that was created with the profile is deleted. If the Pod matches another Fargate profile, then it is scheduled on Fargate with that profile. If it no longer matches any Fargate profiles, then it's not scheduled on Fargate and may remain in a pending state.
Only one Fargate profile in a cluster can be in the DELETING status at a time. You must wait for a Fargate profile to finish deleting before you can delete any other profiles in that cluster.
Implementations§
source§impl DeleteFargateProfileFluentBuilder
impl DeleteFargateProfileFluentBuilder
sourcepub fn as_input(&self) -> &DeleteFargateProfileInputBuilder
pub fn as_input(&self) -> &DeleteFargateProfileInputBuilder
Access the DeleteFargateProfile as a reference.
sourcepub async fn send(
self
) -> Result<DeleteFargateProfileOutput, SdkError<DeleteFargateProfileError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteFargateProfileOutput, SdkError<DeleteFargateProfileError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DeleteFargateProfileOutput, DeleteFargateProfileError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteFargateProfileOutput, DeleteFargateProfileError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of your cluster.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of your cluster.
sourcepub fn get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
The name of your cluster.
sourcepub fn fargate_profile_name(self, input: impl Into<String>) -> Self
pub fn fargate_profile_name(self, input: impl Into<String>) -> Self
The name of the Fargate profile to delete.
sourcepub fn set_fargate_profile_name(self, input: Option<String>) -> Self
pub fn set_fargate_profile_name(self, input: Option<String>) -> Self
The name of the Fargate profile to delete.
sourcepub fn get_fargate_profile_name(&self) -> &Option<String>
pub fn get_fargate_profile_name(&self) -> &Option<String>
The name of the Fargate profile to delete.
Trait Implementations§
source§impl Clone for DeleteFargateProfileFluentBuilder
impl Clone for DeleteFargateProfileFluentBuilder
source§fn clone(&self) -> DeleteFargateProfileFluentBuilder
fn clone(&self) -> DeleteFargateProfileFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more