Interface CreateObjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudDirectoryRequest.Builder
,CopyableBuilder<CreateObjectRequest.Builder,
,CreateObjectRequest> SdkBuilder<CreateObjectRequest.Builder,
,CreateObjectRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateObjectRequest
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryArn
(String directoryArn) The Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created.The name of link that is used to attach this object to a parent.objectAttributeList
(Collection<AttributeKeyAndValue> objectAttributeList) The attribute map whose attribute ARN contains the key and attribute value as the map value.objectAttributeList
(Consumer<AttributeKeyAndValue.Builder>... objectAttributeList) The attribute map whose attribute ARN contains the key and attribute value as the map value.objectAttributeList
(AttributeKeyAndValue... objectAttributeList) The attribute map whose attribute ARN contains the key and attribute value as the map value.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateObjectRequest.Builder
parentReference
(Consumer<ObjectReference.Builder> parentReference) If specified, the parent reference to which this object will be attached.parentReference
(ObjectReference parentReference) If specified, the parent reference to which this object will be attached.schemaFacets
(Collection<SchemaFacet> schemaFacets) A list of schema facets to be associated with the object.schemaFacets
(Consumer<SchemaFacet.Builder>... schemaFacets) A list of schema facets to be associated with the object.schemaFacets
(SchemaFacet... schemaFacets) A list of schema facets to be associated with the object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
directoryArn
-
schemaFacets
A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details.
- Parameters:
schemaFacets
- A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaFacets
A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details.
- Parameters:
schemaFacets
- A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaFacets
A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details.
This is a convenience method that creates an instance of theSchemaFacet.Builder
avoiding the need to create one manually viaSchemaFacet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschemaFacets(List<SchemaFacet>)
.- Parameters:
schemaFacets
- a consumer that will call methods onSchemaFacet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
objectAttributeList
CreateObjectRequest.Builder objectAttributeList(Collection<AttributeKeyAndValue> objectAttributeList) The attribute map whose attribute ARN contains the key and attribute value as the map value.
- Parameters:
objectAttributeList
- The attribute map whose attribute ARN contains the key and attribute value as the map value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectAttributeList
The attribute map whose attribute ARN contains the key and attribute value as the map value.
- Parameters:
objectAttributeList
- The attribute map whose attribute ARN contains the key and attribute value as the map value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectAttributeList
CreateObjectRequest.Builder objectAttributeList(Consumer<AttributeKeyAndValue.Builder>... objectAttributeList) The attribute map whose attribute ARN contains the key and attribute value as the map value.
This is a convenience method that creates an instance of theAttributeKeyAndValue.Builder
avoiding the need to create one manually viaAttributeKeyAndValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toobjectAttributeList(List<AttributeKeyAndValue>)
.- Parameters:
objectAttributeList
- a consumer that will call methods onAttributeKeyAndValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parentReference
If specified, the parent reference to which this object will be attached.
- Parameters:
parentReference
- If specified, the parent reference to which this object will be attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentReference
default CreateObjectRequest.Builder parentReference(Consumer<ObjectReference.Builder> parentReference) If specified, the parent reference to which this object will be attached.
This is a convenience method that creates an instance of theObjectReference.Builder
avoiding the need to create one manually viaObjectReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparentReference(ObjectReference)
.- Parameters:
parentReference
- a consumer that will call methods onObjectReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
linkName
The name of link that is used to attach this object to a parent.
- Parameters:
linkName
- The name of link that is used to attach this object to a parent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateObjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateObjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-