Interface CoreNetwork.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CoreNetwork.Builder,CoreNetwork>,SdkBuilder<CoreNetwork.Builder,CoreNetwork>,SdkPojo
- Enclosing class:
- CoreNetwork
public static interface CoreNetwork.Builder extends SdkPojo, CopyableBuilder<CoreNetwork.Builder,CoreNetwork>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoreNetwork.BuildercoreNetworkArn(String coreNetworkArn)The ARN of a core network.CoreNetwork.BuildercoreNetworkId(String coreNetworkId)The ID of a core network.CoreNetwork.BuildercreatedAt(Instant createdAt)The timestamp when a core network was created.CoreNetwork.Builderdescription(String description)The description of a core network.CoreNetwork.Builderedges(Collection<CoreNetworkEdge> edges)The edges within a core network.CoreNetwork.Builderedges(Consumer<CoreNetworkEdge.Builder>... edges)The edges within a core network.CoreNetwork.Builderedges(CoreNetworkEdge... edges)The edges within a core network.CoreNetwork.BuilderglobalNetworkId(String globalNetworkId)The ID of the global network that your core network is a part of.CoreNetwork.Buildersegments(Collection<CoreNetworkSegment> segments)The segments within a core network.CoreNetwork.Buildersegments(Consumer<CoreNetworkSegment.Builder>... segments)The segments within a core network.CoreNetwork.Buildersegments(CoreNetworkSegment... segments)The segments within a core network.CoreNetwork.Builderstate(String state)The current state of a core network.CoreNetwork.Builderstate(CoreNetworkState state)The current state of a core network.CoreNetwork.Buildertags(Collection<Tag> tags)The list of key-value tags associated with a core network.CoreNetwork.Buildertags(Consumer<Tag.Builder>... tags)The list of key-value tags associated with a core network.CoreNetwork.Buildertags(Tag... tags)The list of key-value tags associated with a core network.-
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
-
globalNetworkId
CoreNetwork.Builder globalNetworkId(String globalNetworkId)
The ID of the global network that your core network is a part of.
- Parameters:
globalNetworkId- The ID of the global network that your core network is a part of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreNetworkId
CoreNetwork.Builder coreNetworkId(String coreNetworkId)
The ID of a core network.
- Parameters:
coreNetworkId- The ID of a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreNetworkArn
CoreNetwork.Builder coreNetworkArn(String coreNetworkArn)
The ARN of a core network.
- Parameters:
coreNetworkArn- The ARN of a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CoreNetwork.Builder description(String description)
The description of a core network.
- Parameters:
description- The description of a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
CoreNetwork.Builder createdAt(Instant createdAt)
The timestamp when a core network was created.
- Parameters:
createdAt- The timestamp when a core network was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
CoreNetwork.Builder state(String state)
The current state of a core network.
- Parameters:
state- The current state of a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CoreNetworkState,CoreNetworkState
-
state
CoreNetwork.Builder state(CoreNetworkState state)
The current state of a core network.
- Parameters:
state- The current state of a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CoreNetworkState,CoreNetworkState
-
segments
CoreNetwork.Builder segments(Collection<CoreNetworkSegment> segments)
The segments within a core network.
- Parameters:
segments- The segments within a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segments
CoreNetwork.Builder segments(CoreNetworkSegment... segments)
The segments within a core network.
- Parameters:
segments- The segments within a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segments
CoreNetwork.Builder segments(Consumer<CoreNetworkSegment.Builder>... segments)
The segments within a core network.
This is a convenience method that creates an instance of theCoreNetworkSegment.Builderavoiding the need to create one manually viaCoreNetworkSegment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#segments(List.) - Parameters:
segments- a consumer that will call methods onCoreNetworkSegment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#segments(java.util.Collection)
-
edges
CoreNetwork.Builder edges(Collection<CoreNetworkEdge> edges)
The edges within a core network.
- Parameters:
edges- The edges within a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edges
CoreNetwork.Builder edges(CoreNetworkEdge... edges)
The edges within a core network.
- Parameters:
edges- The edges within a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
edges
CoreNetwork.Builder edges(Consumer<CoreNetworkEdge.Builder>... edges)
The edges within a core network.
This is a convenience method that creates an instance of theCoreNetworkEdge.Builderavoiding the need to create one manually viaCoreNetworkEdge.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#edges(List.) - Parameters:
edges- a consumer that will call methods onCoreNetworkEdge.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#edges(java.util.Collection)
-
tags
CoreNetwork.Builder tags(Collection<Tag> tags)
The list of key-value tags associated with a core network.
- Parameters:
tags- The list of key-value tags associated with a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CoreNetwork.Builder tags(Tag... tags)
The list of key-value tags associated with a core network.
- Parameters:
tags- The list of key-value tags associated with a core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CoreNetwork.Builder tags(Consumer<Tag.Builder>... tags)
The list of key-value tags associated with a core network.
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)
-
-