Struct aws_sdk_datazone::operation::create_listing_change_set::builders::CreateListingChangeSetInputBuilder
source · #[non_exhaustive]pub struct CreateListingChangeSetInputBuilder { /* private fields */ }Expand description
A builder for CreateListingChangeSetInput.
Implementations§
source§impl CreateListingChangeSetInputBuilder
impl CreateListingChangeSetInputBuilder
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone domain.
This field is required.sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The ID of the Amazon DataZone domain.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The ID of the Amazon DataZone domain.
sourcepub fn entity_identifier(self, input: impl Into<String>) -> Self
pub fn entity_identifier(self, input: impl Into<String>) -> Self
The ID of the asset.
This field is required.sourcepub fn set_entity_identifier(self, input: Option<String>) -> Self
pub fn set_entity_identifier(self, input: Option<String>) -> Self
The ID of the asset.
sourcepub fn get_entity_identifier(&self) -> &Option<String>
pub fn get_entity_identifier(&self) -> &Option<String>
The ID of the asset.
sourcepub fn entity_type(self, input: EntityType) -> Self
pub fn entity_type(self, input: EntityType) -> Self
The type of an entity.
This field is required.sourcepub fn set_entity_type(self, input: Option<EntityType>) -> Self
pub fn set_entity_type(self, input: Option<EntityType>) -> Self
The type of an entity.
sourcepub fn get_entity_type(&self) -> &Option<EntityType>
pub fn get_entity_type(&self) -> &Option<EntityType>
The type of an entity.
sourcepub fn entity_revision(self, input: impl Into<String>) -> Self
pub fn entity_revision(self, input: impl Into<String>) -> Self
The revision of an asset.
sourcepub fn set_entity_revision(self, input: Option<String>) -> Self
pub fn set_entity_revision(self, input: Option<String>) -> Self
The revision of an asset.
sourcepub fn get_entity_revision(&self) -> &Option<String>
pub fn get_entity_revision(&self) -> &Option<String>
The revision of an asset.
sourcepub fn action(self, input: ChangeAction) -> Self
pub fn action(self, input: ChangeAction) -> Self
Specifies whether to publish or unpublish a listing.
This field is required.sourcepub fn set_action(self, input: Option<ChangeAction>) -> Self
pub fn set_action(self, input: Option<ChangeAction>) -> Self
Specifies whether to publish or unpublish a listing.
sourcepub fn get_action(&self) -> &Option<ChangeAction>
pub fn get_action(&self) -> &Option<ChangeAction>
Specifies whether to publish or unpublish a listing.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
sourcepub fn build(self) -> Result<CreateListingChangeSetInput, BuildError>
pub fn build(self) -> Result<CreateListingChangeSetInput, BuildError>
Consumes the builder and constructs a CreateListingChangeSetInput.
source§impl CreateListingChangeSetInputBuilder
impl CreateListingChangeSetInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateListingChangeSetOutput, SdkError<CreateListingChangeSetError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateListingChangeSetOutput, SdkError<CreateListingChangeSetError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateListingChangeSetInputBuilder
impl Clone for CreateListingChangeSetInputBuilder
source§fn clone(&self) -> CreateListingChangeSetInputBuilder
fn clone(&self) -> CreateListingChangeSetInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateListingChangeSetInputBuilder
impl Default for CreateListingChangeSetInputBuilder
source§fn default() -> CreateListingChangeSetInputBuilder
fn default() -> CreateListingChangeSetInputBuilder
source§impl PartialEq for CreateListingChangeSetInputBuilder
impl PartialEq for CreateListingChangeSetInputBuilder
source§fn eq(&self, other: &CreateListingChangeSetInputBuilder) -> bool
fn eq(&self, other: &CreateListingChangeSetInputBuilder) -> bool
self and other values to be equal, and is used
by ==.