pub struct Builder { /* private fields */ }Expand description
A builder for CreateServiceInput.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the service.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the service.
sourcepub fn environment_identifier(self, input: impl Into<String>) -> Self
pub fn environment_identifier(self, input: impl Into<String>) -> Self
The ID of the environment in which the service is created.
sourcepub fn set_environment_identifier(self, input: Option<String>) -> Self
pub fn set_environment_identifier(self, input: Option<String>) -> Self
The ID of the environment in which the service is created.
sourcepub fn application_identifier(self, input: impl Into<String>) -> Self
pub fn application_identifier(self, input: impl Into<String>) -> Self
The ID of the application which the service is created.
sourcepub fn set_application_identifier(self, input: Option<String>) -> Self
pub fn set_application_identifier(self, input: Option<String>) -> Self
The ID of the application which the service is created.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC.
sourcepub fn endpoint_type(self, input: ServiceEndpointType) -> Self
pub fn endpoint_type(self, input: ServiceEndpointType) -> Self
The type of endpoint to use for the service. The type can be a URL in a VPC or an Lambda function.
sourcepub fn set_endpoint_type(self, input: Option<ServiceEndpointType>) -> Self
pub fn set_endpoint_type(self, input: Option<ServiceEndpointType>) -> Self
The type of endpoint to use for the service. The type can be a URL in a VPC or an Lambda function.
sourcepub fn url_endpoint(self, input: UrlEndpointInput) -> Self
pub fn url_endpoint(self, input: UrlEndpointInput) -> Self
The configuration for the URL endpoint type.
sourcepub fn set_url_endpoint(self, input: Option<UrlEndpointInput>) -> Self
pub fn set_url_endpoint(self, input: Option<UrlEndpointInput>) -> Self
The configuration for the URL endpoint type.
sourcepub fn lambda_endpoint(self, input: LambdaEndpointInput) -> Self
pub fn lambda_endpoint(self, input: LambdaEndpointInput) -> Self
The configuration for the Lambda endpoint type.
sourcepub fn set_lambda_endpoint(self, input: Option<LambdaEndpointInput>) -> Self
pub fn set_lambda_endpoint(self, input: Option<LambdaEndpointInput>) -> Self
The configuration for the Lambda endpoint type.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags to assign to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
The tags to assign to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn build(self) -> Result<CreateServiceInput, BuildError>
pub fn build(self) -> Result<CreateServiceInput, BuildError>
Consumes the builder and constructs a CreateServiceInput.