Struct aws_sdk_eks::types::builders::FargateProfileBuilder
source · #[non_exhaustive]pub struct FargateProfileBuilder { /* private fields */ }
Expand description
A builder for FargateProfile
.
Implementations§
source§impl FargateProfileBuilder
impl FargateProfileBuilder
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.
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.
sourcepub fn get_fargate_profile_name(&self) -> &Option<String>
pub fn get_fargate_profile_name(&self) -> &Option<String>
The name of the Fargate profile.
sourcepub fn fargate_profile_arn(self, input: impl Into<String>) -> Self
pub fn fargate_profile_arn(self, input: impl Into<String>) -> Self
The full Amazon Resource Name (ARN) of the Fargate profile.
sourcepub fn set_fargate_profile_arn(self, input: Option<String>) -> Self
pub fn set_fargate_profile_arn(self, input: Option<String>) -> Self
The full Amazon Resource Name (ARN) of the Fargate profile.
sourcepub fn get_fargate_profile_arn(&self) -> &Option<String>
pub fn get_fargate_profile_arn(&self) -> &Option<String>
The full Amazon Resource Name (ARN) of the Fargate profile.
sourcepub fn cluster_name(self, input: impl Into<String>) -> Self
pub fn cluster_name(self, input: impl Into<String>) -> Self
The name of the Amazon EKS cluster that the Fargate profile belongs to.
sourcepub fn set_cluster_name(self, input: Option<String>) -> Self
pub fn set_cluster_name(self, input: Option<String>) -> Self
The name of the Amazon EKS cluster that the Fargate profile belongs to.
sourcepub fn get_cluster_name(&self) -> &Option<String>
pub fn get_cluster_name(&self) -> &Option<String>
The name of the Amazon EKS cluster that the Fargate profile belongs to.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The Unix epoch timestamp in seconds for when the Fargate profile was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The Unix epoch timestamp in seconds for when the Fargate profile was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The Unix epoch timestamp in seconds for when the Fargate profile was created.
sourcepub fn pod_execution_role_arn(self, input: impl Into<String>) -> Self
pub fn pod_execution_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate profile. For more information, see Pod Execution Role in the Amazon EKS User Guide.
sourcepub fn set_pod_execution_role_arn(self, input: Option<String>) -> Self
pub fn set_pod_execution_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate profile. For more information, see Pod Execution Role in the Amazon EKS User Guide.
sourcepub fn get_pod_execution_role_arn(&self) -> &Option<String>
pub fn get_pod_execution_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate profile. For more information, see Pod Execution Role in the Amazon EKS User Guide.
sourcepub fn subnets(self, input: impl Into<String>) -> Self
pub fn subnets(self, input: impl Into<String>) -> Self
Appends an item to subnets
.
To override the contents of this collection use set_subnets
.
The IDs of subnets to launch pods into.
sourcepub fn set_subnets(self, input: Option<Vec<String>>) -> Self
pub fn set_subnets(self, input: Option<Vec<String>>) -> Self
The IDs of subnets to launch pods into.
sourcepub fn get_subnets(&self) -> &Option<Vec<String>>
pub fn get_subnets(&self) -> &Option<Vec<String>>
The IDs of subnets to launch pods into.
sourcepub fn selectors(self, input: FargateProfileSelector) -> Self
pub fn selectors(self, input: FargateProfileSelector) -> Self
Appends an item to selectors
.
To override the contents of this collection use set_selectors
.
The selectors to match for pods to use this Fargate profile.
sourcepub fn set_selectors(self, input: Option<Vec<FargateProfileSelector>>) -> Self
pub fn set_selectors(self, input: Option<Vec<FargateProfileSelector>>) -> Self
The selectors to match for pods to use this Fargate profile.
sourcepub fn get_selectors(&self) -> &Option<Vec<FargateProfileSelector>>
pub fn get_selectors(&self) -> &Option<Vec<FargateProfileSelector>>
The selectors to match for pods to use this Fargate profile.
sourcepub fn status(self, input: FargateProfileStatus) -> Self
pub fn status(self, input: FargateProfileStatus) -> Self
The current status of the Fargate profile.
sourcepub fn set_status(self, input: Option<FargateProfileStatus>) -> Self
pub fn set_status(self, input: Option<FargateProfileStatus>) -> Self
The current status of the Fargate profile.
sourcepub fn get_status(&self) -> &Option<FargateProfileStatus>
pub fn get_status(&self) -> &Option<FargateProfileStatus>
The current status of the Fargate profile.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The metadata applied to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.
The metadata applied to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.
The metadata applied to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.
sourcepub fn build(self) -> FargateProfile
pub fn build(self) -> FargateProfile
Consumes the builder and constructs a FargateProfile
.
Trait Implementations§
source§impl Clone for FargateProfileBuilder
impl Clone for FargateProfileBuilder
source§fn clone(&self) -> FargateProfileBuilder
fn clone(&self) -> FargateProfileBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FargateProfileBuilder
impl Debug for FargateProfileBuilder
source§impl Default for FargateProfileBuilder
impl Default for FargateProfileBuilder
source§fn default() -> FargateProfileBuilder
fn default() -> FargateProfileBuilder
source§impl PartialEq for FargateProfileBuilder
impl PartialEq for FargateProfileBuilder
source§fn eq(&self, other: &FargateProfileBuilder) -> bool
fn eq(&self, other: &FargateProfileBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.