Struct aws_sdk_appsync::model::api_association::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ApiAssociation
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The domain name.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The domain name.
sourcepub fn set_api_id(self, input: Option<String>) -> Self
pub fn set_api_id(self, input: Option<String>) -> Self
The API ID.
sourcepub fn association_status(self, input: AssociationStatus) -> Self
pub fn association_status(self, input: AssociationStatus) -> Self
Identifies the status of an association.
-
PROCESSING: The API association is being created. You cannot modify association requests during processing.
-
SUCCESS: The API association was successful. You can modify associations after success.
-
FAILED: The API association has failed. You can modify associations after failure.
sourcepub fn set_association_status(self, input: Option<AssociationStatus>) -> Self
pub fn set_association_status(self, input: Option<AssociationStatus>) -> Self
Identifies the status of an association.
-
PROCESSING: The API association is being created. You cannot modify association requests during processing.
-
SUCCESS: The API association was successful. You can modify associations after success.
-
FAILED: The API association has failed. You can modify associations after failure.
sourcepub fn deployment_detail(self, input: impl Into<String>) -> Self
pub fn deployment_detail(self, input: impl Into<String>) -> Self
Details about the last deployment status.
sourcepub fn set_deployment_detail(self, input: Option<String>) -> Self
pub fn set_deployment_detail(self, input: Option<String>) -> Self
Details about the last deployment status.
sourcepub fn build(self) -> ApiAssociation
pub fn build(self) -> ApiAssociation
Consumes the builder and constructs a ApiAssociation
.