Class GetCoreNetworkPolicyDocumentAttachmentPolicyAction.Builder
- java.lang.Object
-
- com.pulumi.aws.networkmanager.inputs.GetCoreNetworkPolicyDocumentAttachmentPolicyAction.Builder
-
- Enclosing class:
- GetCoreNetworkPolicyDocumentAttachmentPolicyAction
public static final class GetCoreNetworkPolicyDocumentAttachmentPolicyAction.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetCoreNetworkPolicyDocumentAttachmentPolicyAction defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetCoreNetworkPolicyDocumentAttachmentPolicyAction.BuilderaddToNetworkFunctionGroup(java.lang.String addToNetworkFunctionGroup)GetCoreNetworkPolicyDocumentAttachmentPolicyAction.BuilderassociationMethod(java.lang.String associationMethod)GetCoreNetworkPolicyDocumentAttachmentPolicyActionbuild()GetCoreNetworkPolicyDocumentAttachmentPolicyAction.BuilderrequireAcceptance(java.lang.Boolean requireAcceptance)GetCoreNetworkPolicyDocumentAttachmentPolicyAction.Buildersegment(java.lang.String segment)GetCoreNetworkPolicyDocumentAttachmentPolicyAction.BuildertagValueOfKey(java.lang.String tagValueOfKey)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetCoreNetworkPolicyDocumentAttachmentPolicyAction defaults)
-
-
Method Detail
-
addToNetworkFunctionGroup
public GetCoreNetworkPolicyDocumentAttachmentPolicyAction.Builder addToNetworkFunctionGroup(@Nullable java.lang.String addToNetworkFunctionGroup)
- Parameters:
addToNetworkFunctionGroup- The name of the network function group to attach to the attachment policy.- Returns:
- builder
-
associationMethod
public GetCoreNetworkPolicyDocumentAttachmentPolicyAction.Builder associationMethod(@Nullable java.lang.String associationMethod)
- Parameters:
associationMethod- Defines how a segment is mapped. Values can be `constant` or `tag`. `constant` statically defines the segment to associate the attachment to. `tag` uses the value of a tag to dynamically try to map to a segment.reference_policies_elements_condition_operators.html) to evaluate.- Returns:
- builder
-
requireAcceptance
public GetCoreNetworkPolicyDocumentAttachmentPolicyAction.Builder requireAcceptance(@Nullable java.lang.Boolean requireAcceptance)
- Parameters:
requireAcceptance- Determines if this mapping should override the segment value for `requireAttachmentAcceptance`. You can only set this to `true`, indicating that this setting applies only to segments that have `requireAttachmentAcceptance` set to `false`. If the segment already has the default `requireAttachmentAcceptance`, you can set this to inherit segment’s acceptance value.- Returns:
- builder
-
segment
public GetCoreNetworkPolicyDocumentAttachmentPolicyAction.Builder segment(@Nullable java.lang.String segment)
- Parameters:
segment- Name of the `segment` to share as defined in the `segments` section. This is used only when the `associationMethod` is `constant`.- Returns:
- builder
-
tagValueOfKey
public GetCoreNetworkPolicyDocumentAttachmentPolicyAction.Builder tagValueOfKey(@Nullable java.lang.String tagValueOfKey)
- Parameters:
tagValueOfKey- Maps the attachment to the value of a known key. This is used with the `associationMethod` is `tag`. For example a `tag` of `stage = “test”`, will map to a segment named `test`. The value must exactly match the name of a segment. This allows you to have many segments, but use only a single rule without having to define multiple nearly identical conditions. This prevents creating many similar conditions that all use the same keys to map to segments.- Returns:
- builder
-
build
public GetCoreNetworkPolicyDocumentAttachmentPolicyAction build()
-
-