Interface TrafficPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TrafficPolicy.Builder,
,TrafficPolicy> SdkBuilder<TrafficPolicy.Builder,
,TrafficPolicy> SdkPojo
- Enclosing class:
TrafficPolicy
@Mutable
@NotThreadSafe
public static interface TrafficPolicy.Builder
extends SdkPojo, CopyableBuilder<TrafficPolicy.Builder,TrafficPolicy>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultAction
(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 statementsdefaultAction
(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 statementstrafficPolicyId
(String trafficPolicyId) The identifier of the traffic policy resource.trafficPolicyName
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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:
-
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
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.
-