Interface BrowserExtension.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BrowserExtension.Builder,,BrowserExtension> SdkBuilder<BrowserExtension.Builder,,BrowserExtension> SdkPojo
- Enclosing class:
BrowserExtension
@Mutable
@NotThreadSafe
public static interface BrowserExtension.Builder
extends SdkPojo, CopyableBuilder<BrowserExtension.Builder,BrowserExtension>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BrowserExtension.Builderlocation(Consumer<ResourceLocation.Builder> location) The location where the browser extension files are stored.location(ResourceLocation location) The location where the browser extension files are stored.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
-
location
The location where the browser extension files are stored. This specifies the source from which the extension will be loaded and installed.
- Parameters:
location- The location where the browser extension files are stored. This specifies the source from which the extension will be loaded and installed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The location where the browser extension files are stored. This specifies the source from which the extension will be loaded and installed.
This is a convenience method that creates an instance of theResourceLocation.Builderavoiding the need to create one manually viaResourceLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocation(ResourceLocation).- Parameters:
location- a consumer that will call methods onResourceLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-