Struct aws_sdk_opensearch::input::update_package_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdatePackageInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn package_id(self, input: impl Into<String>) -> Self
pub fn package_id(self, input: impl Into<String>) -> Self
The unique identifier for the package.
sourcepub fn set_package_id(self, input: Option<String>) -> Self
pub fn set_package_id(self, input: Option<String>) -> Self
The unique identifier for the package.
sourcepub fn package_source(self, input: PackageSource) -> Self
pub fn package_source(self, input: PackageSource) -> Self
Amazon S3 bucket and key for the package.
sourcepub fn set_package_source(self, input: Option<PackageSource>) -> Self
pub fn set_package_source(self, input: Option<PackageSource>) -> Self
Amazon S3 bucket and key for the package.
sourcepub fn package_description(self, input: impl Into<String>) -> Self
pub fn package_description(self, input: impl Into<String>) -> Self
A new description of the package.
sourcepub fn set_package_description(self, input: Option<String>) -> Self
pub fn set_package_description(self, input: Option<String>) -> Self
A new description of the package.
sourcepub fn commit_message(self, input: impl Into<String>) -> Self
pub fn commit_message(self, input: impl Into<String>) -> Self
Commit message for the updated file, which is shown as part of GetPackageVersionHistoryResponse
.
sourcepub fn set_commit_message(self, input: Option<String>) -> Self
pub fn set_commit_message(self, input: Option<String>) -> Self
Commit message for the updated file, which is shown as part of GetPackageVersionHistoryResponse
.
sourcepub fn build(self) -> Result<UpdatePackageInput, BuildError>
pub fn build(self) -> Result<UpdatePackageInput, BuildError>
Consumes the builder and constructs a UpdatePackageInput
.