Struct aws_sdk_ecs::model::version_info::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for VersionInfo.
Implementations§
source§impl Builder
impl Builder
sourcepub fn agent_version(self, input: impl Into<String>) -> Self
pub fn agent_version(self, input: impl Into<String>) -> Self
The version number of the Amazon ECS container agent.
sourcepub fn set_agent_version(self, input: Option<String>) -> Self
pub fn set_agent_version(self, input: Option<String>) -> Self
The version number of the Amazon ECS container agent.
sourcepub fn agent_hash(self, input: impl Into<String>) -> Self
pub fn agent_hash(self, input: impl Into<String>) -> Self
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent GitHub repository.
sourcepub fn set_agent_hash(self, input: Option<String>) -> Self
pub fn set_agent_hash(self, input: Option<String>) -> Self
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent GitHub repository.
sourcepub fn docker_version(self, input: impl Into<String>) -> Self
pub fn docker_version(self, input: impl Into<String>) -> Self
The Docker version that's running on the container instance.
sourcepub fn set_docker_version(self, input: Option<String>) -> Self
pub fn set_docker_version(self, input: Option<String>) -> Self
The Docker version that's running on the container instance.
sourcepub fn build(self) -> VersionInfo
pub fn build(self) -> VersionInfo
Consumes the builder and constructs a VersionInfo.