Interface CreateObjectRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<CreateObjectRequest.Builder,CreateObjectRequest>,SdkBuilder<CreateObjectRequest.Builder,CreateObjectRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateObjectRequest
public static interface CreateObjectRequest.Builder extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<CreateObjectRequest.Builder,CreateObjectRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateObjectRequest.BuilderdirectoryArn(String directoryArn)The Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created.CreateObjectRequest.BuilderlinkName(String linkName)The name of link that is used to attach this object to a parent.CreateObjectRequest.BuilderobjectAttributeList(Collection<AttributeKeyAndValue> objectAttributeList)The attribute map whose attribute ARN contains the key and attribute value as the map value.CreateObjectRequest.BuilderobjectAttributeList(Consumer<AttributeKeyAndValue.Builder>... objectAttributeList)The attribute map whose attribute ARN contains the key and attribute value as the map value.CreateObjectRequest.BuilderobjectAttributeList(AttributeKeyAndValue... objectAttributeList)The attribute map whose attribute ARN contains the key and attribute value as the map value.CreateObjectRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateObjectRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateObjectRequest.BuilderparentReference(Consumer<ObjectReference.Builder> parentReference)If specified, the parent reference to which this object will be attached.CreateObjectRequest.BuilderparentReference(ObjectReference parentReference)If specified, the parent reference to which this object will be attached.CreateObjectRequest.BuilderschemaFacets(Collection<SchemaFacet> schemaFacets)A list of schema facets to be associated with the object.CreateObjectRequest.BuilderschemaFacets(Consumer<SchemaFacet.Builder>... schemaFacets)A list of schema facets to be associated with the object.CreateObjectRequest.BuilderschemaFacets(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 Detail
-
directoryArn
CreateObjectRequest.Builder directoryArn(String directoryArn)
-
schemaFacets
CreateObjectRequest.Builder schemaFacets(Collection<SchemaFacet> 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
CreateObjectRequest.Builder schemaFacets(SchemaFacet... 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
CreateObjectRequest.Builder schemaFacets(Consumer<SchemaFacet.Builder>... 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.Builderavoiding the need to create one manually viaSchemaFacet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#schemaFacets(List.) - 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:
#schemaFacets(java.util.Collection)
-
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
CreateObjectRequest.Builder objectAttributeList(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
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.Builderavoiding the need to create one manually viaAttributeKeyAndValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#objectAttributeList(List.) - 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:
#objectAttributeList(java.util.Collection)
-
parentReference
CreateObjectRequest.Builder parentReference(ObjectReference 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.Builderavoiding the need to create one manually viaObjectReference.builder().When the
Consumercompletes,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:
parentReference(ObjectReference)
-
linkName
CreateObjectRequest.Builder linkName(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateObjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-