Interface AttachTypedLinkRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<AttachTypedLinkRequest.Builder,AttachTypedLinkRequest>,SdkBuilder<AttachTypedLinkRequest.Builder,AttachTypedLinkRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AttachTypedLinkRequest
public static interface AttachTypedLinkRequest.Builder extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<AttachTypedLinkRequest.Builder,AttachTypedLinkRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AttachTypedLinkRequest.Builderattributes(Collection<AttributeNameAndValue> attributes)A set of attributes that are associated with the typed link.AttachTypedLinkRequest.Builderattributes(Consumer<AttributeNameAndValue.Builder>... attributes)A set of attributes that are associated with the typed link.AttachTypedLinkRequest.Builderattributes(AttributeNameAndValue... attributes)A set of attributes that are associated with the typed link.AttachTypedLinkRequest.BuilderdirectoryArn(String directoryArn)The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.AttachTypedLinkRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AttachTypedLinkRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default AttachTypedLinkRequest.BuildersourceObjectReference(Consumer<ObjectReference.Builder> sourceObjectReference)Identifies the source object that the typed link will attach to.AttachTypedLinkRequest.BuildersourceObjectReference(ObjectReference sourceObjectReference)Identifies the source object that the typed link will attach to.default AttachTypedLinkRequest.BuildertargetObjectReference(Consumer<ObjectReference.Builder> targetObjectReference)Identifies the target object that the typed link will attach to.AttachTypedLinkRequest.BuildertargetObjectReference(ObjectReference targetObjectReference)Identifies the target object that the typed link will attach to.default AttachTypedLinkRequest.BuildertypedLinkFacet(Consumer<TypedLinkSchemaAndFacetName.Builder> typedLinkFacet)Identifies the typed link facet that is associated with the typed link.AttachTypedLinkRequest.BuildertypedLinkFacet(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 Detail
-
directoryArn
AttachTypedLinkRequest.Builder directoryArn(String 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
AttachTypedLinkRequest.Builder sourceObjectReference(ObjectReference 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.Builderavoiding the need to create one manually viaObjectReference.builder().When the
Consumercompletes,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:
sourceObjectReference(ObjectReference)
-
targetObjectReference
AttachTypedLinkRequest.Builder targetObjectReference(ObjectReference 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.Builderavoiding the need to create one manually viaObjectReference.builder().When the
Consumercompletes,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:
targetObjectReference(ObjectReference)
-
typedLinkFacet
AttachTypedLinkRequest.Builder typedLinkFacet(TypedLinkSchemaAndFacetName 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.Builderavoiding the need to create one manually viaTypedLinkSchemaAndFacetName.builder().When the
Consumercompletes,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:
typedLinkFacet(TypedLinkSchemaAndFacetName)
-
attributes
AttachTypedLinkRequest.Builder attributes(Collection<AttributeNameAndValue> 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
AttachTypedLinkRequest.Builder attributes(AttributeNameAndValue... 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
AttachTypedLinkRequest.Builder attributes(Consumer<AttributeNameAndValue.Builder>... attributes)
A set of attributes that are associated with the typed link.
This is a convenience method that creates an instance of theAttributeNameAndValue.Builderavoiding the need to create one manually viaAttributeNameAndValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
overrideConfiguration
AttachTypedLinkRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AttachTypedLinkRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-