Class GetCoreNetworkPolicyDocumentAttachmentPolicyAction.Builder

    • 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