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.BuilderobjectReference(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.BuilderschemaFacet(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaSchemaFacet.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAttributeKeyAndValue.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaObjectReference.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-