Struct aws_sdk_appsync::model::app_sync_runtime::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AppSyncRuntime
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: RuntimeName) -> Self
pub fn name(self, input: RuntimeName) -> Self
The name
of the runtime to use. Currently, the only allowed value is APPSYNC_JS
.
sourcepub fn set_name(self, input: Option<RuntimeName>) -> Self
pub fn set_name(self, input: Option<RuntimeName>) -> Self
The name
of the runtime to use. Currently, the only allowed value is APPSYNC_JS
.
sourcepub fn runtime_version(self, input: impl Into<String>) -> Self
pub fn runtime_version(self, input: impl Into<String>) -> Self
The version
of the runtime to use. Currently, the only allowed version is 1.0.0
.
sourcepub fn set_runtime_version(self, input: Option<String>) -> Self
pub fn set_runtime_version(self, input: Option<String>) -> Self
The version
of the runtime to use. Currently, the only allowed version is 1.0.0
.
sourcepub fn build(self) -> AppSyncRuntime
pub fn build(self) -> AppSyncRuntime
Consumes the builder and constructs a AppSyncRuntime
.