#[non_exhaustive]pub struct DomainPackageDetailsBuilder { /* private fields */ }
Expand description
A builder for DomainPackageDetails
.
Implementations§
source§impl DomainPackageDetailsBuilder
impl DomainPackageDetailsBuilder
sourcepub fn package_id(self, input: impl Into<String>) -> Self
pub fn package_id(self, input: impl Into<String>) -> Self
Internal ID of the package.
sourcepub fn set_package_id(self, input: Option<String>) -> Self
pub fn set_package_id(self, input: Option<String>) -> Self
Internal ID of the package.
sourcepub fn get_package_id(&self) -> &Option<String>
pub fn get_package_id(&self) -> &Option<String>
Internal ID of the package.
sourcepub fn package_name(self, input: impl Into<String>) -> Self
pub fn package_name(self, input: impl Into<String>) -> Self
User-specified name of the package.
sourcepub fn set_package_name(self, input: Option<String>) -> Self
pub fn set_package_name(self, input: Option<String>) -> Self
User-specified name of the package.
sourcepub fn get_package_name(&self) -> &Option<String>
pub fn get_package_name(&self) -> &Option<String>
User-specified name of the package.
sourcepub fn package_type(self, input: PackageType) -> Self
pub fn package_type(self, input: PackageType) -> Self
The type of package.
sourcepub fn set_package_type(self, input: Option<PackageType>) -> Self
pub fn set_package_type(self, input: Option<PackageType>) -> Self
The type of package.
sourcepub fn get_package_type(&self) -> &Option<PackageType>
pub fn get_package_type(&self) -> &Option<PackageType>
The type of package.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
Timestamp of the most recent update to the package association status.
sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
Timestamp of the most recent update to the package association status.
sourcepub fn get_last_updated(&self) -> &Option<DateTime>
pub fn get_last_updated(&self) -> &Option<DateTime>
Timestamp of the most recent update to the package association status.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
Name of the domain that the package is associated with.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
Name of the domain that the package is associated with.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
Name of the domain that the package is associated with.
sourcepub fn domain_package_status(self, input: DomainPackageStatus) -> Self
pub fn domain_package_status(self, input: DomainPackageStatus) -> Self
State of the association.
sourcepub fn set_domain_package_status(
self,
input: Option<DomainPackageStatus>
) -> Self
pub fn set_domain_package_status( self, input: Option<DomainPackageStatus> ) -> Self
State of the association.
sourcepub fn get_domain_package_status(&self) -> &Option<DomainPackageStatus>
pub fn get_domain_package_status(&self) -> &Option<DomainPackageStatus>
State of the association.
sourcepub fn package_version(self, input: impl Into<String>) -> Self
pub fn package_version(self, input: impl Into<String>) -> Self
The current version of the package.
sourcepub fn set_package_version(self, input: Option<String>) -> Self
pub fn set_package_version(self, input: Option<String>) -> Self
The current version of the package.
sourcepub fn get_package_version(&self) -> &Option<String>
pub fn get_package_version(&self) -> &Option<String>
The current version of the package.
sourcepub fn reference_path(self, input: impl Into<String>) -> Self
pub fn reference_path(self, input: impl Into<String>) -> Self
The relative path of the package on the OpenSearch Service cluster nodes. This is synonym_path
when the package is for synonym files.
sourcepub fn set_reference_path(self, input: Option<String>) -> Self
pub fn set_reference_path(self, input: Option<String>) -> Self
The relative path of the package on the OpenSearch Service cluster nodes. This is synonym_path
when the package is for synonym files.
sourcepub fn get_reference_path(&self) -> &Option<String>
pub fn get_reference_path(&self) -> &Option<String>
The relative path of the package on the OpenSearch Service cluster nodes. This is synonym_path
when the package is for synonym files.
sourcepub fn error_details(self, input: ErrorDetails) -> Self
pub fn error_details(self, input: ErrorDetails) -> Self
Additional information if the package is in an error state. Null otherwise.
sourcepub fn set_error_details(self, input: Option<ErrorDetails>) -> Self
pub fn set_error_details(self, input: Option<ErrorDetails>) -> Self
Additional information if the package is in an error state. Null otherwise.
sourcepub fn get_error_details(&self) -> &Option<ErrorDetails>
pub fn get_error_details(&self) -> &Option<ErrorDetails>
Additional information if the package is in an error state. Null otherwise.
sourcepub fn build(self) -> DomainPackageDetails
pub fn build(self) -> DomainPackageDetails
Consumes the builder and constructs a DomainPackageDetails
.
Trait Implementations§
source§impl Clone for DomainPackageDetailsBuilder
impl Clone for DomainPackageDetailsBuilder
source§fn clone(&self) -> DomainPackageDetailsBuilder
fn clone(&self) -> DomainPackageDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DomainPackageDetailsBuilder
impl Debug for DomainPackageDetailsBuilder
source§impl Default for DomainPackageDetailsBuilder
impl Default for DomainPackageDetailsBuilder
source§fn default() -> DomainPackageDetailsBuilder
fn default() -> DomainPackageDetailsBuilder
source§impl PartialEq for DomainPackageDetailsBuilder
impl PartialEq for DomainPackageDetailsBuilder
source§fn eq(&self, other: &DomainPackageDetailsBuilder) -> bool
fn eq(&self, other: &DomainPackageDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.