Interface CoreNetwork.Builder

    • 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.
      • 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.
      • 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.
      • 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)