Interface UpdatedA2aDescriptor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatedA2aDescriptor.Builder,,UpdatedA2aDescriptor> SdkBuilder<UpdatedA2aDescriptor.Builder,,UpdatedA2aDescriptor> SdkPojo
- Enclosing class:
UpdatedA2aDescriptor
@Mutable
@NotThreadSafe
public static interface UpdatedA2aDescriptor.Builder
extends SdkPojo, CopyableBuilder<UpdatedA2aDescriptor.Builder,UpdatedA2aDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdatedA2aDescriptor.BuilderoptionalValue(Consumer<A2aDescriptor.Builder> optionalValue) The updated A2A descriptor value.optionalValue(A2aDescriptor optionalValue) The updated A2A descriptor value.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
-
optionalValue
The updated A2A descriptor value.
- Parameters:
optionalValue- The updated A2A descriptor value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionalValue
The updated A2A descriptor value.
This is a convenience method that creates an instance of theA2aDescriptor.Builderavoiding the need to create one manually viaA2aDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptionalValue(A2aDescriptor).- Parameters:
optionalValue- a consumer that will call methods onA2aDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-