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) Sets the value of the Source property for this object.source(DescriptorSource source) Sets the value of the Source property for this object.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
Sets the value of the Source property for this object.- Parameters:
source- The new value for the Source property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Sets the value of the Source property for this object. 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:
-