Interface AddFacetToObjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudDirectoryRequest.Builder
,CopyableBuilder<AddFacetToObjectRequest.Builder,
,AddFacetToObjectRequest> SdkBuilder<AddFacetToObjectRequest.Builder,
,AddFacetToObjectRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AddFacetToObjectRequest
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryArn
(String directoryArn) The Amazon Resource Name (ARN) that is associated with the Directory where the object resides.objectAttributeList
(Collection<AttributeKeyAndValue> objectAttributeList) Attributes on the facet that you are adding to the object.objectAttributeList
(Consumer<AttributeKeyAndValue.Builder>... objectAttributeList) Attributes on the facet that you are adding to the object.objectAttributeList
(AttributeKeyAndValue... objectAttributeList) Attributes on the facet that you are adding to the object.default AddFacetToObjectRequest.Builder
objectReference
(Consumer<ObjectReference.Builder> objectReference) A reference to the object you are adding the specified facet to.objectReference
(ObjectReference objectReference) A reference to the object you are adding the specified facet to.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default AddFacetToObjectRequest.Builder
schemaFacet
(Consumer<SchemaFacet.Builder> schemaFacet) Identifiers for the facet that you are adding to the object.schemaFacet
(SchemaFacet schemaFacet) Identifiers for the facet that you are adding to 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
-
schemaFacet
Identifiers for the facet that you are adding to the object. See SchemaFacet for details.
- Parameters:
schemaFacet
- Identifiers for the facet that you are adding to the object. See SchemaFacet for details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaFacet
Identifiers for the facet that you are adding to the object. 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 toschemaFacet(SchemaFacet)
.- Parameters:
schemaFacet
- 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
AddFacetToObjectRequest.Builder objectAttributeList(Collection<AttributeKeyAndValue> objectAttributeList) Attributes on the facet that you are adding to the object.
- Parameters:
objectAttributeList
- Attributes on the facet that you are adding to the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectAttributeList
Attributes on the facet that you are adding to the object.
- Parameters:
objectAttributeList
- Attributes on the facet that you are adding to the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectAttributeList
AddFacetToObjectRequest.Builder objectAttributeList(Consumer<AttributeKeyAndValue.Builder>... objectAttributeList) Attributes on the facet that you are adding to the object.
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:
-
objectReference
A reference to the object you are adding the specified facet to.
- Parameters:
objectReference
- A reference to the object you are adding the specified facet to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
default AddFacetToObjectRequest.Builder objectReference(Consumer<ObjectReference.Builder> objectReference) A reference to the object you are adding the specified facet to.
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 toobjectReference(ObjectReference)
.- Parameters:
objectReference
- 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:
-
overrideConfiguration
AddFacetToObjectRequest.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
AddFacetToObjectRequest.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.
-