Interface TrafficPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TrafficPolicy.Builder,TrafficPolicy>,SdkBuilder<TrafficPolicy.Builder,TrafficPolicy>,SdkPojo
- Enclosing class:
- TrafficPolicy
public static interface TrafficPolicy.Builder extends SdkPojo, CopyableBuilder<TrafficPolicy.Builder,TrafficPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TrafficPolicy.BuilderdefaultAction(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 statementsTrafficPolicy.BuilderdefaultAction(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 statementsTrafficPolicy.BuildertrafficPolicyId(String trafficPolicyId)The identifier of the traffic policy resource.TrafficPolicy.BuildertrafficPolicyName(String trafficPolicyName)A user-friendly name of the traffic policy resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
-