Interface NetworkResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkResource.Builder,
,NetworkResource> SdkBuilder<NetworkResource.Builder,
,NetworkResource> SdkPojo
- Enclosing class:
NetworkResource
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID.The Amazon Web Services Region.coreNetworkId
(String coreNetworkId) The ID of a core network.definition
(String definition) Information about the resource, in JSON format.definitionTimestamp
(Instant definitionTimestamp) The time that the resource definition was retrieved.The resource metadata.registeredGatewayArn
(String registeredGatewayArn) The ARN of the gateway.resourceArn
(String resourceArn) The ARN of the resource.resourceId
(String resourceId) The ID of the resource.resourceType
(String resourceType) The resource type.tags
(Collection<Tag> tags) The tags.tags
(Consumer<Tag.Builder>... tags) The tags.The tags.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 Details
-
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
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
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
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
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
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
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
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
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
The tags.
- Parameters:
tags
- The tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags.
- Parameters:
tags
- The tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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:
-
metadata
The resource metadata.
- Parameters:
metadata
- The resource metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-