Struct aws_sdk_glue::model::blueprint::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Blueprint.
Implementations§
source§impl 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 blueprint.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the blueprint.
sourcepub fn created_on(self, input: DateTime) -> Self
pub fn created_on(self, input: DateTime) -> Self
The date and time the blueprint was registered.
sourcepub fn set_created_on(self, input: Option<DateTime>) -> Self
pub fn set_created_on(self, input: Option<DateTime>) -> Self
The date and time the blueprint was registered.
sourcepub fn last_modified_on(self, input: DateTime) -> Self
pub fn last_modified_on(self, input: DateTime) -> Self
The date and time the blueprint was last modified.
sourcepub fn set_last_modified_on(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_on(self, input: Option<DateTime>) -> Self
The date and time the blueprint was last modified.
sourcepub fn parameter_spec(self, input: impl Into<String>) -> Self
pub fn parameter_spec(self, input: impl Into<String>) -> Self
A JSON string that indicates the list of parameter specifications for the blueprint.
sourcepub fn set_parameter_spec(self, input: Option<String>) -> Self
pub fn set_parameter_spec(self, input: Option<String>) -> Self
A JSON string that indicates the list of parameter specifications for the blueprint.
sourcepub fn blueprint_location(self, input: impl Into<String>) -> Self
pub fn blueprint_location(self, input: impl Into<String>) -> Self
Specifies the path in Amazon S3 where the blueprint is published.
sourcepub fn set_blueprint_location(self, input: Option<String>) -> Self
pub fn set_blueprint_location(self, input: Option<String>) -> Self
Specifies the path in Amazon S3 where the blueprint is published.
sourcepub fn blueprint_service_location(self, input: impl Into<String>) -> Self
pub fn blueprint_service_location(self, input: impl Into<String>) -> Self
Specifies a path in Amazon S3 where the blueprint is copied when you call CreateBlueprint/UpdateBlueprint to register the blueprint in Glue.
sourcepub fn set_blueprint_service_location(self, input: Option<String>) -> Self
pub fn set_blueprint_service_location(self, input: Option<String>) -> Self
Specifies a path in Amazon S3 where the blueprint is copied when you call CreateBlueprint/UpdateBlueprint to register the blueprint in Glue.
sourcepub fn status(self, input: BlueprintStatus) -> Self
pub fn status(self, input: BlueprintStatus) -> Self
The status of the blueprint registration.
-
Creating — The blueprint registration is in progress.
-
Active — The blueprint has been successfully registered.
-
Updating — An update to the blueprint registration is in progress.
-
Failed — The blueprint registration failed.
sourcepub fn set_status(self, input: Option<BlueprintStatus>) -> Self
pub fn set_status(self, input: Option<BlueprintStatus>) -> Self
The status of the blueprint registration.
-
Creating — The blueprint registration is in progress.
-
Active — The blueprint has been successfully registered.
-
Updating — An update to the blueprint registration is in progress.
-
Failed — The blueprint registration failed.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
An error message.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
An error message.
sourcepub fn last_active_definition(self, input: LastActiveDefinition) -> Self
pub fn last_active_definition(self, input: LastActiveDefinition) -> Self
When there are multiple versions of a blueprint and the latest version has some errors, this attribute indicates the last successful blueprint definition that is available with the service.
sourcepub fn set_last_active_definition(
self,
input: Option<LastActiveDefinition>
) -> Self
pub fn set_last_active_definition(
self,
input: Option<LastActiveDefinition>
) -> Self
When there are multiple versions of a blueprint and the latest version has some errors, this attribute indicates the last successful blueprint definition that is available with the service.