#[non_exhaustive]pub struct CreateObjectInput {
pub directory_arn: Option<String>,
pub schema_facets: Option<Vec<SchemaFacet>>,
pub object_attribute_list: Option<Vec<AttributeKeyAndValue>>,
pub parent_reference: Option<ObjectReference>,
pub link_name: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.directory_arn: Option<String>The Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created. For more information, see arns.
schema_facets: Option<Vec<SchemaFacet>>A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details.
object_attribute_list: Option<Vec<AttributeKeyAndValue>>The attribute map whose attribute ARN contains the key and attribute value as the map value.
parent_reference: Option<ObjectReference>If specified, the parent reference to which this object will be attached.
link_name: Option<String>The name of link that is used to attach this object to a parent.
Implementations§
source§impl CreateObjectInput
impl CreateObjectInput
sourcepub fn directory_arn(&self) -> Option<&str>
pub fn directory_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created. For more information, see arns.
sourcepub fn schema_facets(&self) -> &[SchemaFacet]
pub fn schema_facets(&self) -> &[SchemaFacet]
A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .schema_facets.is_none().
sourcepub fn object_attribute_list(&self) -> &[AttributeKeyAndValue]
pub fn object_attribute_list(&self) -> &[AttributeKeyAndValue]
The attribute map whose attribute ARN contains the key and attribute value as the map value.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .object_attribute_list.is_none().
sourcepub fn parent_reference(&self) -> Option<&ObjectReference>
pub fn parent_reference(&self) -> Option<&ObjectReference>
If specified, the parent reference to which this object will be attached.
source§impl CreateObjectInput
impl CreateObjectInput
sourcepub fn builder() -> CreateObjectInputBuilder
pub fn builder() -> CreateObjectInputBuilder
Creates a new builder-style object to manufacture CreateObjectInput.
Trait Implementations§
source§impl Clone for CreateObjectInput
impl Clone for CreateObjectInput
source§fn clone(&self) -> CreateObjectInput
fn clone(&self) -> CreateObjectInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateObjectInput
impl Debug for CreateObjectInput
source§impl PartialEq for CreateObjectInput
impl PartialEq for CreateObjectInput
source§fn eq(&self, other: &CreateObjectInput) -> bool
fn eq(&self, other: &CreateObjectInput) -> bool
self and other values to be equal, and is used
by ==.