public static interface NetworkResource.Builder extends SdkPojo, CopyableBuilder<NetworkResource.Builder,NetworkResource>
| Modifier and Type | Method and Description |
|---|---|
NetworkResource.Builder |
accountId(String accountId)
The Amazon Web Services account ID.
|
NetworkResource.Builder |
awsRegion(String awsRegion)
The Amazon Web Services Region.
|
NetworkResource.Builder |
coreNetworkId(String coreNetworkId)
The ID of a core network.
|
NetworkResource.Builder |
definition(String definition)
Information about the resource, in JSON format.
|
NetworkResource.Builder |
definitionTimestamp(Instant definitionTimestamp)
The time that the resource definition was retrieved.
|
NetworkResource.Builder |
metadata(Map<String,String> metadata)
The resource metadata.
|
NetworkResource.Builder |
registeredGatewayArn(String registeredGatewayArn)
The ARN of the gateway.
|
NetworkResource.Builder |
resourceArn(String resourceArn)
The ARN of the resource.
|
NetworkResource.Builder |
resourceId(String resourceId)
The ID of the resource.
|
NetworkResource.Builder |
resourceType(String resourceType)
The resource type.
|
NetworkResource.Builder |
tags(Collection<Tag> tags)
The tags.
|
NetworkResource.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags.
|
NetworkResource.Builder |
tags(Tag... tags)
The tags.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNetworkResource.Builder registeredGatewayArn(String registeredGatewayArn)
The ARN of the gateway.
registeredGatewayArn - The ARN of the gateway.NetworkResource.Builder coreNetworkId(String coreNetworkId)
The ID of a core network.
coreNetworkId - The ID of a core network.NetworkResource.Builder awsRegion(String awsRegion)
The Amazon Web Services Region.
awsRegion - The Amazon Web Services Region.NetworkResource.Builder accountId(String accountId)
The Amazon Web Services account ID.
accountId - The Amazon Web Services account ID.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
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
NetworkResource.Builder resourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.NetworkResource.Builder resourceArn(String resourceArn)
The ARN of the resource.
resourceArn - The ARN of the resource.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.
definition - Information about the resource, in JSON format. Network Manager gets this information by describing
the resource using its Describe API call.NetworkResource.Builder definitionTimestamp(Instant definitionTimestamp)
The time that the resource definition was retrieved.
definitionTimestamp - The time that the resource definition was retrieved.NetworkResource.Builder tags(Collection<Tag> tags)
The tags.
tags - The tags.NetworkResource.Builder tags(Tag... tags)
The tags.
tags - The tags.NetworkResource.Builder tags(Consumer<Tag.Builder>... tags)
The tags.
This is a convenience method that creates an instance of theTag.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.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) NetworkResource.Builder metadata(Map<String,String> metadata)
The resource metadata.
metadata - The resource metadata.Copyright © 2022. All rights reserved.