Struct aws_sdk_opensearch::operation::get_package_version_history::builders::GetPackageVersionHistoryOutputBuilder
source · #[non_exhaustive]pub struct GetPackageVersionHistoryOutputBuilder { /* private fields */ }Expand description
A builder for GetPackageVersionHistoryOutput.
Implementations§
source§impl GetPackageVersionHistoryOutputBuilder
impl GetPackageVersionHistoryOutputBuilder
sourcepub fn package_id(self, input: impl Into<String>) -> Self
pub fn package_id(self, input: impl Into<String>) -> Self
The unique identifier of 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 of the package.
sourcepub fn get_package_id(&self) -> &Option<String>
pub fn get_package_id(&self) -> &Option<String>
The unique identifier of the package.
sourcepub fn package_version_history_list(self, input: PackageVersionHistory) -> Self
pub fn package_version_history_list(self, input: PackageVersionHistory) -> Self
Appends an item to package_version_history_list.
To override the contents of this collection use set_package_version_history_list.
A list of package versions, along with their creation time and commit message.
sourcepub fn set_package_version_history_list(
self,
input: Option<Vec<PackageVersionHistory>>
) -> Self
pub fn set_package_version_history_list( self, input: Option<Vec<PackageVersionHistory>> ) -> Self
A list of package versions, along with their creation time and commit message.
sourcepub fn get_package_version_history_list(
&self
) -> &Option<Vec<PackageVersionHistory>>
pub fn get_package_version_history_list( &self ) -> &Option<Vec<PackageVersionHistory>>
A list of package versions, along with their creation time and commit message.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
sourcepub fn build(self) -> GetPackageVersionHistoryOutput
pub fn build(self) -> GetPackageVersionHistoryOutput
Consumes the builder and constructs a GetPackageVersionHistoryOutput.
Trait Implementations§
source§impl Clone for GetPackageVersionHistoryOutputBuilder
impl Clone for GetPackageVersionHistoryOutputBuilder
source§fn clone(&self) -> GetPackageVersionHistoryOutputBuilder
fn clone(&self) -> GetPackageVersionHistoryOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetPackageVersionHistoryOutputBuilder
impl Default for GetPackageVersionHistoryOutputBuilder
source§fn default() -> GetPackageVersionHistoryOutputBuilder
fn default() -> GetPackageVersionHistoryOutputBuilder
source§impl PartialEq for GetPackageVersionHistoryOutputBuilder
impl PartialEq for GetPackageVersionHistoryOutputBuilder
source§fn eq(&self, other: &GetPackageVersionHistoryOutputBuilder) -> bool
fn eq(&self, other: &GetPackageVersionHistoryOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.