Struct aws_sdk_finspace::types::builders::ChangeRequestBuilder
source · #[non_exhaustive]pub struct ChangeRequestBuilder { /* private fields */ }Expand description
A builder for ChangeRequest.
Implementations§
source§impl ChangeRequestBuilder
impl ChangeRequestBuilder
sourcepub fn change_type(self, input: ChangeType) -> Self
pub fn change_type(self, input: ChangeType) -> Self
Defines the type of change request. A changeType can have the following values:
-
PUT – Adds or updates files in a database.
-
DELETE – Deletes files in a database.
sourcepub fn set_change_type(self, input: Option<ChangeType>) -> Self
pub fn set_change_type(self, input: Option<ChangeType>) -> Self
Defines the type of change request. A changeType can have the following values:
-
PUT – Adds or updates files in a database.
-
DELETE – Deletes files in a database.
sourcepub fn get_change_type(&self) -> &Option<ChangeType>
pub fn get_change_type(&self) -> &Option<ChangeType>
Defines the type of change request. A changeType can have the following values:
-
PUT – Adds or updates files in a database.
-
DELETE – Deletes files in a database.
sourcepub fn s3_path(self, input: impl Into<String>) -> Self
pub fn s3_path(self, input: impl Into<String>) -> Self
Defines the S3 path of the source file that is required to add or update files in a database.
sourcepub fn set_s3_path(self, input: Option<String>) -> Self
pub fn set_s3_path(self, input: Option<String>) -> Self
Defines the S3 path of the source file that is required to add or update files in a database.
sourcepub fn get_s3_path(&self) -> &Option<String>
pub fn get_s3_path(&self) -> &Option<String>
Defines the S3 path of the source file that is required to add or update files in a database.
sourcepub fn db_path(self, input: impl Into<String>) -> Self
pub fn db_path(self, input: impl Into<String>) -> Self
Defines the path within the database directory.
This field is required.sourcepub fn set_db_path(self, input: Option<String>) -> Self
pub fn set_db_path(self, input: Option<String>) -> Self
Defines the path within the database directory.
sourcepub fn get_db_path(&self) -> &Option<String>
pub fn get_db_path(&self) -> &Option<String>
Defines the path within the database directory.
sourcepub fn build(self) -> Result<ChangeRequest, BuildError>
pub fn build(self) -> Result<ChangeRequest, BuildError>
Consumes the builder and constructs a ChangeRequest.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ChangeRequestBuilder
impl Clone for ChangeRequestBuilder
source§fn clone(&self) -> ChangeRequestBuilder
fn clone(&self) -> ChangeRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ChangeRequestBuilder
impl Debug for ChangeRequestBuilder
source§impl Default for ChangeRequestBuilder
impl Default for ChangeRequestBuilder
source§fn default() -> ChangeRequestBuilder
fn default() -> ChangeRequestBuilder
source§impl PartialEq for ChangeRequestBuilder
impl PartialEq for ChangeRequestBuilder
source§fn eq(&self, other: &ChangeRequestBuilder) -> bool
fn eq(&self, other: &ChangeRequestBuilder) -> bool
self and other values to be equal, and is used
by ==.