Interface NetworkResource.Builder

    • Method Detail

      • registeredGatewayArn

        NetworkResource.Builder registeredGatewayArn​(String registeredGatewayArn)

        The ARN of the gateway.

        Parameters:
        registeredGatewayArn - The ARN of the gateway.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • coreNetworkId

        NetworkResource.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.
      • awsRegion

        NetworkResource.Builder awsRegion​(String awsRegion)

        The Amazon Web Services Region.

        Parameters:
        awsRegion - The Amazon Web Services Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountId

        NetworkResource.Builder accountId​(String accountId)

        The Amazon Web Services account ID.

        Parameters:
        accountId - The Amazon Web Services account ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceType

        NetworkResource.Builder resourceType​(String resourceType)

        The resource type.

        The following are the supported resource types for Direct Connect:

        • dxcon

        • dx-gateway

        • dx-vif

        The following are the supported resource types for Network Manager:

        • connection

        • device

        • link

        • site

        The following are the supported resource types for Amazon VPC:

        • customer-gateway

        • transit-gateway

        • transit-gateway-attachment

        • transit-gateway-connect-peer

        • transit-gateway-route-table

        • vpn-connection

        Parameters:
        resourceType - The resource type.

        The following are the supported resource types for Direct Connect:

        • dxcon

        • dx-gateway

        • dx-vif

        The following are the supported resource types for Network Manager:

        • connection

        • device

        • link

        • site

        The following are the supported resource types for Amazon VPC:

        • customer-gateway

        • transit-gateway

        • transit-gateway-attachment

        • transit-gateway-connect-peer

        • transit-gateway-route-table

        • vpn-connection

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceId

        NetworkResource.Builder resourceId​(String resourceId)

        The ID of the resource.

        Parameters:
        resourceId - The ID of the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceArn

        NetworkResource.Builder resourceArn​(String resourceArn)

        The ARN of the resource.

        Parameters:
        resourceArn - The ARN of the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • definition

        NetworkResource.Builder definition​(String definition)

        Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.

        Parameters:
        definition - Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • definitionTimestamp

        NetworkResource.Builder definitionTimestamp​(Instant definitionTimestamp)

        The time that the resource definition was retrieved.

        Parameters:
        definitionTimestamp - The time that the resource definition was retrieved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        NetworkResource.Builder tags​(Collection<Tag> tags)

        The tags.

        Parameters:
        tags - The tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        NetworkResource.Builder tags​(Tag... tags)

        The tags.

        Parameters:
        tags - The tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        NetworkResource.Builder tags​(Consumer<Tag.Builder>... tags)

        The tags.

        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)
      • metadata

        NetworkResource.Builder metadata​(Map<String,​String> metadata)

        The resource metadata.

        Parameters:
        metadata - The resource metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.