Class GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.networkmanager.inputs.GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder
-
- Enclosing class:
- GetCoreNetworkPolicyDocumentSegmentActionArgs
public static final class GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetCoreNetworkPolicyDocumentSegmentActionArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetCoreNetworkPolicyDocumentSegmentActionArgs defaults)
-
-
Method Detail
-
action
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder action(com.pulumi.core.Output<java.lang.String> action)
- Parameters:
action- Action to take for the chosen segment. Valid values: `create-route`, `share`, `send-via`, `send-to`, and `associate-routing-policy` (available in policy version `2025.11` and later).- Returns:
- builder
-
action
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder action(java.lang.String action)
- Parameters:
action- Action to take for the chosen segment. Valid values: `create-route`, `share`, `send-via`, `send-to`, and `associate-routing-policy` (available in policy version `2025.11` and later).- Returns:
- builder
-
description
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- A user-defined string describing the segment action.- Returns:
- builder
-
description
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder description(java.lang.String description)
- Parameters:
description- A user-defined string describing the segment action.- Returns:
- builder
-
destinationCidrBlocks
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder destinationCidrBlocks(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> destinationCidrBlocks)
- Parameters:
destinationCidrBlocks- List of strings containing CIDRs. You can define the IPv4 and IPv6 CIDR notation for each AWS Region. For example, `10.1.0.0/16` or `2001:db8::/56`. This is an array of CIDR notation strings.- Returns:
- builder
-
destinationCidrBlocks
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder destinationCidrBlocks(java.util.List<java.lang.String> destinationCidrBlocks)
- Parameters:
destinationCidrBlocks- List of strings containing CIDRs. You can define the IPv4 and IPv6 CIDR notation for each AWS Region. For example, `10.1.0.0/16` or `2001:db8::/56`. This is an array of CIDR notation strings.- Returns:
- builder
-
destinationCidrBlocks
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder destinationCidrBlocks(java.lang.String... destinationCidrBlocks)
- Parameters:
destinationCidrBlocks- List of strings containing CIDRs. You can define the IPv4 and IPv6 CIDR notation for each AWS Region. For example, `10.1.0.0/16` or `2001:db8::/56`. This is an array of CIDR notation strings.- Returns:
- builder
-
destinations
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder destinations(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> destinations)
- Parameters:
destinations- A list of strings. Valid values include `["blackhole"]` or a list of attachment IDs.- Returns:
- builder
-
destinations
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder destinations(java.util.List<java.lang.String> destinations)
- Parameters:
destinations- A list of strings. Valid values include `["blackhole"]` or a list of attachment IDs.- Returns:
- builder
-
destinations
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder destinations(java.lang.String... destinations)
- Parameters:
destinations- A list of strings. Valid values include `["blackhole"]` or a list of attachment IDs.- Returns:
- builder
-
edgeLocationAssociation
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder edgeLocationAssociation(@Nullable com.pulumi.core.Output<GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationArgs> edgeLocationAssociation)
- Parameters:
edgeLocationAssociation- Associates routing policies with specific edge location pairs. Available in policy version `2025.11` and later. Detailed below.- Returns:
- builder
-
edgeLocationAssociation
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder edgeLocationAssociation(GetCoreNetworkPolicyDocumentSegmentActionEdgeLocationAssociationArgs edgeLocationAssociation)
- Parameters:
edgeLocationAssociation- Associates routing policies with specific edge location pairs. Available in policy version `2025.11` and later. Detailed below.- Returns:
- builder
-
mode
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder mode(@Nullable com.pulumi.core.Output<java.lang.String> mode)
- Parameters:
mode- String. When `action` is `share`, a `mode` value of `attachment-route` places the attachment and return routes in each of the `shareWith` segments. When `action` is `send-via`, indicates the mode used for packets. Valid values: `attachment-route`, `single-hop`, `dual-hop`.- Returns:
- builder
-
mode
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder mode(java.lang.String mode)
- Parameters:
mode- String. When `action` is `share`, a `mode` value of `attachment-route` places the attachment and return routes in each of the `shareWith` segments. When `action` is `send-via`, indicates the mode used for packets. Valid values: `attachment-route`, `single-hop`, `dual-hop`.- Returns:
- builder
-
routingPolicyNames
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder routingPolicyNames(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> routingPolicyNames)
- Parameters:
routingPolicyNames- A list of routing policy names to apply to segment sharing. The routing policies control how routes are propagated between the shared segments. Only applicable when `action` is `share`. Available in policy version `2025.11` and later.- Returns:
- builder
-
routingPolicyNames
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder routingPolicyNames(java.util.List<java.lang.String> routingPolicyNames)
- Parameters:
routingPolicyNames- A list of routing policy names to apply to segment sharing. The routing policies control how routes are propagated between the shared segments. Only applicable when `action` is `share`. Available in policy version `2025.11` and later.- Returns:
- builder
-
routingPolicyNames
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder routingPolicyNames(java.lang.String... routingPolicyNames)
- Parameters:
routingPolicyNames- A list of routing policy names to apply to segment sharing. The routing policies control how routes are propagated between the shared segments. Only applicable when `action` is `share`. Available in policy version `2025.11` and later.- Returns:
- builder
-
segment
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder segment(com.pulumi.core.Output<java.lang.String> segment)
- Parameters:
segment- Name of the segment.- Returns:
- builder
-
segment
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder segment(java.lang.String segment)
- Parameters:
segment- Name of the segment.- Returns:
- builder
-
shareWithExcepts
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder shareWithExcepts(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> shareWithExcepts)
- Parameters:
shareWithExcepts- A set subtraction of segments to not share with.- Returns:
- builder
-
shareWithExcepts
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder shareWithExcepts(java.util.List<java.lang.String> shareWithExcepts)
- Parameters:
shareWithExcepts- A set subtraction of segments to not share with.- Returns:
- builder
-
shareWithExcepts
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder shareWithExcepts(java.lang.String... shareWithExcepts)
- Parameters:
shareWithExcepts- A set subtraction of segments to not share with.- Returns:
- builder
-
shareWiths
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder shareWiths(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> shareWiths)
- Parameters:
shareWiths- A list of strings to share with. Must be a substring is all segments. Valid values include: `["*"]` or `["<segment-names>"]`.- Returns:
- builder
-
shareWiths
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder shareWiths(java.util.List<java.lang.String> shareWiths)
- Parameters:
shareWiths- A list of strings to share with. Must be a substring is all segments. Valid values include: `["*"]` or `["<segment-names>"]`.- Returns:
- builder
-
shareWiths
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder shareWiths(java.lang.String... shareWiths)
- Parameters:
shareWiths- A list of strings to share with. Must be a substring is all segments. Valid values include: `["*"]` or `["<segment-names>"]`.- Returns:
- builder
-
via
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder via(@Nullable com.pulumi.core.Output<GetCoreNetworkPolicyDocumentSegmentActionViaArgs> via)
- Parameters:
via- The network function groups and any edge overrides associated with the action.- Returns:
- builder
-
via
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder via(GetCoreNetworkPolicyDocumentSegmentActionViaArgs via)
- Parameters:
via- The network function groups and any edge overrides associated with the action.- Returns:
- builder
-
whenSentTo
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder whenSentTo(@Nullable com.pulumi.core.Output<GetCoreNetworkPolicyDocumentSegmentActionWhenSentToArgs> whenSentTo)
- Parameters:
whenSentTo- The destination segments for the `send-via` or `send-to` `action`.- Returns:
- builder
-
whenSentTo
public GetCoreNetworkPolicyDocumentSegmentActionArgs.Builder whenSentTo(GetCoreNetworkPolicyDocumentSegmentActionWhenSentToArgs whenSentTo)
- Parameters:
whenSentTo- The destination segments for the `send-via` or `send-to` `action`.- Returns:
- builder
-
build
public GetCoreNetworkPolicyDocumentSegmentActionArgs build()
-
-