Interface Link.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Link.Builder,,Link> SdkBuilder<Link.Builder,,Link> SdkPojo
- Enclosing class:
Link
-
Method Summary
Modifier and TypeMethodDescriptiondefault Link.Builderbandwidth(Consumer<Bandwidth.Builder> bandwidth) The bandwidth for the link.The bandwidth for the link.The date and time that the link was created.description(String description) The description of the link.globalNetworkId(String globalNetworkId) The ID of the global network.The Amazon Resource Name (ARN) of the link.The ID of the link.The provider of the link.The ID of the site.The state of the link.The state of the link.tags(Collection<Tag> tags) The tags for the link.tags(Consumer<Tag.Builder>... tags) The tags for the link.The tags for the link.The type of the link.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, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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:
-
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
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
The state of the link.
- Parameters:
state- The state of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the link.
- Parameters:
state- The state of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 totags(List<Tag>).- 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:
-