Interface Link.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Link.Builder,Link>,SdkBuilder<Link.Builder,Link>,SdkPojo
- Enclosing class:
- Link
public static interface Link.Builder extends SdkPojo, CopyableBuilder<Link.Builder,Link>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Link.Builderbandwidth(Consumer<Bandwidth.Builder> bandwidth)The bandwidth for the link.Link.Builderbandwidth(Bandwidth bandwidth)The bandwidth for the link.Link.BuildercreatedAt(Instant createdAt)The date and time that the link was created.Link.Builderdescription(String description)The description of the link.Link.BuilderglobalNetworkId(String globalNetworkId)The ID of the global network.Link.BuilderlinkArn(String linkArn)The Amazon Resource Name (ARN) of the link.Link.BuilderlinkId(String linkId)The ID of the link.Link.Builderprovider(String provider)The provider of the link.Link.BuildersiteId(String siteId)The ID of the site.Link.Builderstate(String state)The state of the link.Link.Builderstate(LinkState state)The state of the link.Link.Buildertags(Collection<Tag> tags)The tags for the link.Link.Buildertags(Consumer<Tag.Builder>... tags)The tags for the link.Link.Buildertags(Tag... tags)The tags for the link.Link.Buildertype(String type)The type of the link.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
linkId
Link.Builder linkId(String linkId)
The ID of the link.
- Parameters:
linkId- The ID of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkArn
Link.Builder linkArn(String linkArn)
The Amazon Resource Name (ARN) of the link.
- Parameters:
linkArn- The Amazon Resource Name (ARN) of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalNetworkId
Link.Builder globalNetworkId(String globalNetworkId)
The ID of the global network.
- Parameters:
globalNetworkId- The ID of the global network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
siteId
Link.Builder siteId(String siteId)
The ID of the site.
- Parameters:
siteId- The ID of the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Link.Builder description(String description)
The description of the link.
- Parameters:
description- The description of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Link.Builder type(String type)
The type of the link.
- Parameters:
type- The type of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bandwidth
Link.Builder bandwidth(Bandwidth bandwidth)
The bandwidth for the link.
- Parameters:
bandwidth- The bandwidth for the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bandwidth
default Link.Builder bandwidth(Consumer<Bandwidth.Builder> bandwidth)
The bandwidth for the link.
This is a convenience method that creates an instance of theBandwidth.Builderavoiding the need to create one manually viaBandwidth.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobandwidth(Bandwidth).- Parameters:
bandwidth- a consumer that will call methods onBandwidth.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
bandwidth(Bandwidth)
-
provider
Link.Builder provider(String provider)
The provider of the link.
- Parameters:
provider- The provider of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Link.Builder createdAt(Instant createdAt)
The date and time that the link was created.
- Parameters:
createdAt- The date and time that the link was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Link.Builder state(String state)
The state of the link.
-
state
Link.Builder state(LinkState state)
The state of the link.
-
tags
Link.Builder tags(Collection<Tag> tags)
The tags for the link.
- Parameters:
tags- The tags for the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Link.Builder tags(Tag... tags)
The tags for the link.
- Parameters:
tags- The tags for the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Link.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the link.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-