Interface PolicyCondition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyCondition.Builder,PolicyCondition>,SdkBuilder<PolicyCondition.Builder,PolicyCondition>,SdkPojo
- Enclosing class:
- PolicyCondition
public static interface PolicyCondition.Builder extends SdkPojo, CopyableBuilder<PolicyCondition.Builder,PolicyCondition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PolicyCondition.BuilderbooleanExpression(Consumer<IngressBooleanExpression.Builder> booleanExpression)This represents a boolean type condition matching on the incoming mail.PolicyCondition.BuilderbooleanExpression(IngressBooleanExpression booleanExpression)This represents a boolean type condition matching on the incoming mail.default PolicyCondition.BuilderipExpression(Consumer<IngressIpv4Expression.Builder> ipExpression)This represents an IP based condition matching on the incoming mail.PolicyCondition.BuilderipExpression(IngressIpv4Expression ipExpression)This represents an IP based condition matching on the incoming mail.default PolicyCondition.BuilderstringExpression(Consumer<IngressStringExpression.Builder> stringExpression)This represents a string based condition matching on the incoming mail.PolicyCondition.BuilderstringExpression(IngressStringExpression stringExpression)This represents a string based condition matching on the incoming mail.default PolicyCondition.BuildertlsExpression(Consumer<IngressTlsProtocolExpression.Builder> tlsExpression)This represents a TLS based condition matching on the incoming mail.PolicyCondition.BuildertlsExpression(IngressTlsProtocolExpression tlsExpression)This represents a TLS based condition matching on the incoming mail.-
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
-
booleanExpression
PolicyCondition.Builder booleanExpression(IngressBooleanExpression booleanExpression)
This represents a boolean type condition matching on the incoming mail. It performs the boolean operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
- Parameters:
booleanExpression- This represents a boolean type condition matching on the incoming mail. It performs the boolean operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
booleanExpression
default PolicyCondition.Builder booleanExpression(Consumer<IngressBooleanExpression.Builder> booleanExpression)
This represents a boolean type condition matching on the incoming mail. It performs the boolean operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
This is a convenience method that creates an instance of theIngressBooleanExpression.Builderavoiding the need to create one manually viaIngressBooleanExpression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobooleanExpression(IngressBooleanExpression).- Parameters:
booleanExpression- a consumer that will call methods onIngressBooleanExpression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
booleanExpression(IngressBooleanExpression)
-
ipExpression
PolicyCondition.Builder ipExpression(IngressIpv4Expression ipExpression)
This represents an IP based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
- Parameters:
ipExpression- This represents an IP based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipExpression
default PolicyCondition.Builder ipExpression(Consumer<IngressIpv4Expression.Builder> ipExpression)
This represents an IP based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
This is a convenience method that creates an instance of theIngressIpv4Expression.Builderavoiding the need to create one manually viaIngressIpv4Expression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toipExpression(IngressIpv4Expression).- Parameters:
ipExpression- a consumer that will call methods onIngressIpv4Expression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ipExpression(IngressIpv4Expression)
-
stringExpression
PolicyCondition.Builder stringExpression(IngressStringExpression stringExpression)
This represents a string based condition matching on the incoming mail. It performs the string operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
- Parameters:
stringExpression- This represents a string based condition matching on the incoming mail. It performs the string operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringExpression
default PolicyCondition.Builder stringExpression(Consumer<IngressStringExpression.Builder> stringExpression)
This represents a string based condition matching on the incoming mail. It performs the string operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
This is a convenience method that creates an instance of theIngressStringExpression.Builderavoiding the need to create one manually viaIngressStringExpression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostringExpression(IngressStringExpression).- Parameters:
stringExpression- a consumer that will call methods onIngressStringExpression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
stringExpression(IngressStringExpression)
-
tlsExpression
PolicyCondition.Builder tlsExpression(IngressTlsProtocolExpression tlsExpression)
This represents a TLS based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
- Parameters:
tlsExpression- This represents a TLS based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tlsExpression
default PolicyCondition.Builder tlsExpression(Consumer<IngressTlsProtocolExpression.Builder> tlsExpression)
This represents a TLS based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
This is a convenience method that creates an instance of theIngressTlsProtocolExpression.Builderavoiding the need to create one manually viaIngressTlsProtocolExpression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totlsExpression(IngressTlsProtocolExpression).- Parameters:
tlsExpression- a consumer that will call methods onIngressTlsProtocolExpression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tlsExpression(IngressTlsProtocolExpression)
-
-