Interface AsnMatchStatement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AsnMatchStatement.Builder,,AsnMatchStatement> SdkBuilder<AsnMatchStatement.Builder,,AsnMatchStatement> SdkPojo
- Enclosing class:
AsnMatchStatement
-
Method Summary
Modifier and TypeMethodDescriptionContains one or more Autonomous System Numbers (ASNs).asnList(Collection<Long> asnList) Contains one or more Autonomous System Numbers (ASNs).default AsnMatchStatement.BuilderforwardedIPConfig(Consumer<ForwardedIPConfig.Builder> forwardedIPConfig) The configuration for inspecting IP addresses to match against an ASN in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin.forwardedIPConfig(ForwardedIPConfig forwardedIPConfig) The configuration for inspecting IP addresses to match against an ASN in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin.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
-
asnList
Contains one or more Autonomous System Numbers (ASNs). ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
- Parameters:
asnList- Contains one or more Autonomous System Numbers (ASNs). ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asnList
Contains one or more Autonomous System Numbers (ASNs). ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
- Parameters:
asnList- Contains one or more Autonomous System Numbers (ASNs). ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forwardedIPConfig
The configuration for inspecting IP addresses to match against an ASN in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
- Parameters:
forwardedIPConfig- The configuration for inspecting IP addresses to match against an ASN in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forwardedIPConfig
default AsnMatchStatement.Builder forwardedIPConfig(Consumer<ForwardedIPConfig.Builder> forwardedIPConfig) The configuration for inspecting IP addresses to match against an ASN in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
This is a convenience method that creates an instance of theForwardedIPConfig.Builderavoiding the need to create one manually viaForwardedIPConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toforwardedIPConfig(ForwardedIPConfig).- Parameters:
forwardedIPConfig- a consumer that will call methods onForwardedIPConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-