Interface PolicyCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyCondition.Builder,,PolicyCondition> SdkBuilder<PolicyCondition.Builder,,PolicyCondition> SdkPojo
- Enclosing class:
PolicyCondition
-
Method Summary
Modifier and TypeMethodDescriptiondefault PolicyCondition.BuilderbooleanExpression(Consumer<IngressBooleanExpression.Builder> booleanExpression) This represents a boolean type condition matching on the incoming mail.booleanExpression(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.ipExpression(IngressIpv4Expression ipExpression) This represents an IP based condition matching on the incoming mail.default PolicyCondition.Builderipv6Expression(Consumer<IngressIpv6Expression.Builder> ipv6Expression) This represents an IPv6 based condition matching on the incoming mail.ipv6Expression(IngressIpv6Expression ipv6Expression) This represents an IPv6 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.stringExpression(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.tlsExpression(IngressTlsProtocolExpression tlsExpression) This represents a TLS based condition matching on the incoming mail.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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
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:
-
ipv6Expression
This represents an IPv6 based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.
- Parameters:
ipv6Expression- This represents an IPv6 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.
-
ipv6Expression
default PolicyCondition.Builder ipv6Expression(Consumer<IngressIpv6Expression.Builder> ipv6Expression) This represents an IPv6 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 theIngressIpv6Expression.Builderavoiding the need to create one manually viaIngressIpv6Expression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toipv6Expression(IngressIpv6Expression).- Parameters:
ipv6Expression- a consumer that will call methods onIngressIpv6Expression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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:
-
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:
-