Interface IpCountry.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IpCountry.Builder,
,IpCountry> SdkBuilder<IpCountry.Builder,
,IpCountry> SdkPojo
- Enclosing class:
IpCountry
@Mutable
@NotThreadSafe
public static interface IpCountry.Builder
extends SdkPojo, CopyableBuilder<IpCountry.Builder,IpCountry>
-
Method Summary
Modifier and TypeMethodDescriptionThe two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from.The name of the country that the IP address originated from.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
-
code
The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.
- Parameters:
code
- The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the country that the IP address originated from.
- Parameters:
name
- The name of the country that the IP address originated from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-