Struct aws_sdk_clouddirectory::operation::create_directory::builders::CreateDirectoryOutputBuilder
source · #[non_exhaustive]pub struct CreateDirectoryOutputBuilder { /* private fields */ }Expand description
A builder for CreateDirectoryOutput.
Implementations§
source§impl CreateDirectoryOutputBuilder
impl CreateDirectoryOutputBuilder
sourcepub fn directory_arn(self, input: impl Into<String>) -> Self
pub fn directory_arn(self, input: impl Into<String>) -> Self
The ARN that is associated with the Directory. For more information, see arns.
sourcepub fn set_directory_arn(self, input: Option<String>) -> Self
pub fn set_directory_arn(self, input: Option<String>) -> Self
The ARN that is associated with the Directory. For more information, see arns.
sourcepub fn get_directory_arn(&self) -> &Option<String>
pub fn get_directory_arn(&self) -> &Option<String>
The ARN that is associated with the Directory. For more information, see arns.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Directory.
sourcepub fn object_identifier(self, input: impl Into<String>) -> Self
pub fn object_identifier(self, input: impl Into<String>) -> Self
The root object node of the created directory.
This field is required.sourcepub fn set_object_identifier(self, input: Option<String>) -> Self
pub fn set_object_identifier(self, input: Option<String>) -> Self
The root object node of the created directory.
sourcepub fn get_object_identifier(&self) -> &Option<String>
pub fn get_object_identifier(&self) -> &Option<String>
The root object node of the created directory.
sourcepub fn applied_schema_arn(self, input: impl Into<String>) -> Self
pub fn applied_schema_arn(self, input: impl Into<String>) -> Self
The ARN of the published schema in the Directory. Once a published schema is copied into the directory, it has its own ARN, which is referred to applied schema ARN. For more information, see arns.
sourcepub fn set_applied_schema_arn(self, input: Option<String>) -> Self
pub fn set_applied_schema_arn(self, input: Option<String>) -> Self
The ARN of the published schema in the Directory. Once a published schema is copied into the directory, it has its own ARN, which is referred to applied schema ARN. For more information, see arns.
sourcepub fn get_applied_schema_arn(&self) -> &Option<String>
pub fn get_applied_schema_arn(&self) -> &Option<String>
The ARN of the published schema in the Directory. Once a published schema is copied into the directory, it has its own ARN, which is referred to applied schema ARN. For more information, see arns.
sourcepub fn build(self) -> Result<CreateDirectoryOutput, BuildError>
pub fn build(self) -> Result<CreateDirectoryOutput, BuildError>
Consumes the builder and constructs a CreateDirectoryOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateDirectoryOutputBuilder
impl Clone for CreateDirectoryOutputBuilder
source§fn clone(&self) -> CreateDirectoryOutputBuilder
fn clone(&self) -> CreateDirectoryOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDirectoryOutputBuilder
impl Debug for CreateDirectoryOutputBuilder
source§impl Default for CreateDirectoryOutputBuilder
impl Default for CreateDirectoryOutputBuilder
source§fn default() -> CreateDirectoryOutputBuilder
fn default() -> CreateDirectoryOutputBuilder
source§impl PartialEq for CreateDirectoryOutputBuilder
impl PartialEq for CreateDirectoryOutputBuilder
source§fn eq(&self, other: &CreateDirectoryOutputBuilder) -> bool
fn eq(&self, other: &CreateDirectoryOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.