Interface ActionRemoteIpDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ActionRemoteIpDetails.Builder,,ActionRemoteIpDetails> SdkBuilder<ActionRemoteIpDetails.Builder,,ActionRemoteIpDetails> SdkPojo
- Enclosing class:
ActionRemoteIpDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault ActionRemoteIpDetails.Buildercity(Consumer<City.Builder> city) The city where the remote IP address is located.The city where the remote IP address is located.default ActionRemoteIpDetails.Buildercountry(Consumer<Country.Builder> country) The country where the remote IP address is located.The country where the remote IP address is located.default ActionRemoteIpDetails.BuildergeoLocation(Consumer<GeoLocation.Builder> geoLocation) The coordinates of the location of the remote IP address.geoLocation(GeoLocation geoLocation) The coordinates of the location of the remote IP address.ipAddressV4(String ipAddressV4) The IP address.default ActionRemoteIpDetails.Builderorganization(Consumer<IpOrganizationDetails.Builder> organization) The internet service provider (ISP) organization associated with the remote IP address.organization(IpOrganizationDetails organization) The internet service provider (ISP) organization associated with the remote IP address.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, sdkFields
-
Method Details
-
ipAddressV4
The IP address.
- Parameters:
ipAddressV4- The IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organization
The internet service provider (ISP) organization associated with the remote IP address.
- Parameters:
organization- The internet service provider (ISP) organization associated with the remote IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organization
default ActionRemoteIpDetails.Builder organization(Consumer<IpOrganizationDetails.Builder> organization) The internet service provider (ISP) organization associated with the remote IP address.
This is a convenience method that creates an instance of theIpOrganizationDetails.Builderavoiding the need to create one manually viaIpOrganizationDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorganization(IpOrganizationDetails).- Parameters:
organization- a consumer that will call methods onIpOrganizationDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
country
The country where the remote IP address is located.
- Parameters:
country- The country where the remote IP address is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
country
The country where the remote IP address is located.
This is a convenience method that creates an instance of theCountry.Builderavoiding the need to create one manually viaCountry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocountry(Country).- Parameters:
country- a consumer that will call methods onCountry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
city
The city where the remote IP address is located.
- Parameters:
city- The city where the remote IP address is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
city
The city where the remote IP address is located.
This is a convenience method that creates an instance of theCity.Builderavoiding the need to create one manually viaCity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocity(City).- Parameters:
city- a consumer that will call methods onCity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
geoLocation
The coordinates of the location of the remote IP address.
- Parameters:
geoLocation- The coordinates of the location of the remote IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geoLocation
The coordinates of the location of the remote IP address.
This is a convenience method that creates an instance of theGeoLocation.Builderavoiding the need to create one manually viaGeoLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeoLocation(GeoLocation).- Parameters:
geoLocation- a consumer that will call methods onGeoLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-