Interface AttachTypedLinkRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudDirectoryRequest.Builder
,CopyableBuilder<AttachTypedLinkRequest.Builder,
,AttachTypedLinkRequest> SdkBuilder<AttachTypedLinkRequest.Builder,
,AttachTypedLinkRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AttachTypedLinkRequest
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<AttributeNameAndValue> attributes) A set of attributes that are associated with the typed link.attributes
(Consumer<AttributeNameAndValue.Builder>... attributes) A set of attributes that are associated with the typed link.attributes
(AttributeNameAndValue... attributes) A set of attributes that are associated with the typed link.directoryArn
(String directoryArn) The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default AttachTypedLinkRequest.Builder
sourceObjectReference
(Consumer<ObjectReference.Builder> sourceObjectReference) Identifies the source object that the typed link will attach to.sourceObjectReference
(ObjectReference sourceObjectReference) Identifies the source object that the typed link will attach to.default AttachTypedLinkRequest.Builder
targetObjectReference
(Consumer<ObjectReference.Builder> targetObjectReference) Identifies the target object that the typed link will attach to.targetObjectReference
(ObjectReference targetObjectReference) Identifies the target object that the typed link will attach to.default AttachTypedLinkRequest.Builder
typedLinkFacet
(Consumer<TypedLinkSchemaAndFacetName.Builder> typedLinkFacet) Identifies the typed link facet that is associated with the typed link.typedLinkFacet
(TypedLinkSchemaAndFacetName typedLinkFacet) Identifies the typed link facet that is associated with the typed link.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
The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.
- Parameters:
directoryArn
- The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceObjectReference
Identifies the source object that the typed link will attach to.
- Parameters:
sourceObjectReference
- Identifies the source object that the typed link will attach to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceObjectReference
default AttachTypedLinkRequest.Builder sourceObjectReference(Consumer<ObjectReference.Builder> sourceObjectReference) Identifies the source object that the typed link will attach 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 tosourceObjectReference(ObjectReference)
.- Parameters:
sourceObjectReference
- 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:
-
targetObjectReference
Identifies the target object that the typed link will attach to.
- Parameters:
targetObjectReference
- Identifies the target object that the typed link will attach to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetObjectReference
default AttachTypedLinkRequest.Builder targetObjectReference(Consumer<ObjectReference.Builder> targetObjectReference) Identifies the target object that the typed link will attach 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 totargetObjectReference(ObjectReference)
.- Parameters:
targetObjectReference
- 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:
-
typedLinkFacet
Identifies the typed link facet that is associated with the typed link.
- Parameters:
typedLinkFacet
- Identifies the typed link facet that is associated with the typed link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typedLinkFacet
default AttachTypedLinkRequest.Builder typedLinkFacet(Consumer<TypedLinkSchemaAndFacetName.Builder> typedLinkFacet) Identifies the typed link facet that is associated with the typed link.
This is a convenience method that creates an instance of theTypedLinkSchemaAndFacetName.Builder
avoiding the need to create one manually viaTypedLinkSchemaAndFacetName.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totypedLinkFacet(TypedLinkSchemaAndFacetName)
.- Parameters:
typedLinkFacet
- a consumer that will call methods onTypedLinkSchemaAndFacetName.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributes
A set of attributes that are associated with the typed link.
- Parameters:
attributes
- A set of attributes that are associated with the typed link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
A set of attributes that are associated with the typed link.
- Parameters:
attributes
- A set of attributes that are associated with the typed link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
A set of attributes that are associated with the typed link.
This is a convenience method that creates an instance of theAttributeNameAndValue.Builder
avoiding the need to create one manually viaAttributeNameAndValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<AttributeNameAndValue>)
.- Parameters:
attributes
- a consumer that will call methods onAttributeNameAndValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AttachTypedLinkRequest.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
AttachTypedLinkRequest.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.
-