#[non_exhaustive]pub struct CreateServiceInstanceInput {
pub name: Option<String>,
pub service_name: Option<String>,
pub spec: Option<String>,
pub template_major_version: Option<String>,
pub template_minor_version: Option<String>,
pub tags: Option<Vec<Tag>>,
pub client_token: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the service instance to create.
service_name: Option<String>
The name of the service the service instance is added to.
spec: Option<String>
The spec for the service instance you want to create.
template_major_version: Option<String>
To create a new major and minor version of the service template, exclude major Version
.
template_minor_version: Option<String>
To create a new minor version of the service template, include a major Version
.
An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
client_token: Option<String>
The client token of the service instance to create.
Implementations§
source§impl CreateServiceInstanceInput
impl CreateServiceInstanceInput
sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
The name of the service the service instance is added to.
sourcepub fn template_major_version(&self) -> Option<&str>
pub fn template_major_version(&self) -> Option<&str>
To create a new major and minor version of the service template, exclude major Version
.
sourcepub fn template_minor_version(&self) -> Option<&str>
pub fn template_minor_version(&self) -> Option<&str>
To create a new minor version of the service template, include a major Version
.
An optional list of metadata items that you can associate with the Proton service instance. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
The client token of the service instance to create.
source§impl CreateServiceInstanceInput
impl CreateServiceInstanceInput
sourcepub fn builder() -> CreateServiceInstanceInputBuilder
pub fn builder() -> CreateServiceInstanceInputBuilder
Creates a new builder-style object to manufacture CreateServiceInstanceInput
.
Trait Implementations§
source§impl Clone for CreateServiceInstanceInput
impl Clone for CreateServiceInstanceInput
source§fn clone(&self) -> CreateServiceInstanceInput
fn clone(&self) -> CreateServiceInstanceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateServiceInstanceInput
impl Debug for CreateServiceInstanceInput
source§impl PartialEq for CreateServiceInstanceInput
impl PartialEq for CreateServiceInstanceInput
source§fn eq(&self, other: &CreateServiceInstanceInput) -> bool
fn eq(&self, other: &CreateServiceInstanceInput) -> bool
self
and other
values to be equal, and is used
by ==
.