Class GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.networkmanager.inputs.GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.Builder
-
- Enclosing class:
- GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs
public static final class GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs defaults)
-
-
Method Detail
-
addToNetworkFunctionGroup
public GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.Builder addToNetworkFunctionGroup(@Nullable com.pulumi.core.Output<java.lang.String> addToNetworkFunctionGroup)
- Parameters:
addToNetworkFunctionGroup- The name of the network function group to attach to the attachment policy.- Returns:
- builder
-
addToNetworkFunctionGroup
public GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.Builder addToNetworkFunctionGroup(java.lang.String addToNetworkFunctionGroup)
- Parameters:
addToNetworkFunctionGroup- The name of the network function group to attach to the attachment policy.- Returns:
- builder
-
associationMethod
public GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.Builder associationMethod(@Nullable com.pulumi.core.Output<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
-
associationMethod
public GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.Builder associationMethod(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 GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.Builder requireAcceptance(@Nullable com.pulumi.core.Output<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
-
requireAcceptance
public GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.Builder requireAcceptance(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 GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.Builder segment(@Nullable com.pulumi.core.Output<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
-
segment
public GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.Builder segment(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 GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.Builder tagValueOfKey(@Nullable com.pulumi.core.Output<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
-
tagValueOfKey
public GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs.Builder tagValueOfKey(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 GetCoreNetworkPolicyDocumentAttachmentPolicyActionArgs build()
-
-