Interface RouteAttribution.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RouteAttribution.Builder,,RouteAttribution> SdkBuilder<RouteAttribution.Builder,,RouteAttribution> SdkPojo
- Enclosing class:
RouteAttribution
@Mutable
@NotThreadSafe
public static interface RouteAttribution.Builder
extends SdkPojo, CopyableBuilder<RouteAttribution.Builder,RouteAttribution>
-
Method Summary
Modifier and TypeMethodDescriptionattributionType(String attributionType) The type of the attribution link.attributionType(RouteAttributionType attributionType) The type of the attribution link.default RouteAttribution.BuilderwebLink(Consumer<RouteWebLink.Builder> webLink) The URL to an external resource.webLink(RouteWebLink webLink) The URL to an external resource.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
-
attributionType
The type of the attribution link.
- Parameters:
attributionType- The type of the attribution link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributionType
The type of the attribution link.
- Parameters:
attributionType- The type of the attribution link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
webLink
The URL to an external resource.
- Parameters:
webLink- The URL to an external resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webLink
The URL to an external resource.
This is a convenience method that creates an instance of theRouteWebLink.Builderavoiding the need to create one manually viaRouteWebLink.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebLink(RouteWebLink).- Parameters:
webLink- a consumer that will call methods onRouteWebLink.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-