Interface TrafficPolicy.Builder

    • Method Detail

      • defaultAction

        TrafficPolicy.Builder defaultAction​(String defaultAction)

        Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements

        Parameters:
        defaultAction - Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AcceptAction, AcceptAction
      • defaultAction

        TrafficPolicy.Builder defaultAction​(AcceptAction defaultAction)

        Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements

        Parameters:
        defaultAction - Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AcceptAction, AcceptAction
      • trafficPolicyId

        TrafficPolicy.Builder trafficPolicyId​(String trafficPolicyId)

        The identifier of the traffic policy resource.

        Parameters:
        trafficPolicyId - The identifier of the traffic policy resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trafficPolicyName

        TrafficPolicy.Builder trafficPolicyName​(String trafficPolicyName)

        A user-friendly name of the traffic policy resource.

        Parameters:
        trafficPolicyName - A user-friendly name of the traffic policy resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.