Interface AgUiDescriptor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgUiDescriptor.Builder,,AgUiDescriptor> SdkBuilder<AgUiDescriptor.Builder,,AgUiDescriptor> SdkPojo
- Enclosing class:
AgUiDescriptor
@Mutable
@NotThreadSafe
public static interface AgUiDescriptor.Builder
extends SdkPojo, CopyableBuilder<AgUiDescriptor.Builder,AgUiDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AgUiDescriptor.Buildersource(Consumer<DescriptorSource.Builder> source) The source location of the AG-UI protocol endpoint.source(DescriptorSource source) The source location of the AG-UI protocol endpoint.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
source
The source location of the AG-UI protocol endpoint.
- Parameters:
source- The source location of the AG-UI protocol endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source location of the AG-UI protocol endpoint.
This is a convenience method that creates an instance of theDescriptorSource.Builderavoiding the need to create one manually viaDescriptorSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(DescriptorSource).- Parameters:
source- a consumer that will call methods onDescriptorSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-