Class IpOwner
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.IpOwner
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IpOwner.Builder,IpOwner>
@Generated("software.amazon.awssdk:codegen") public final class IpOwner extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IpOwner.Builder,IpOwner>
Provides information about the registered owner of an IP address.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIpOwner.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringasn()The autonomous system number (ASN) for the autonomous system that included the IP address.StringasnOrg()The organization identifier that's associated with the autonomous system number (ASN) for the autonomous system that included the IP address.static IpOwner.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringisp()The name of the internet service provider (ISP) that owned the IP address.Stringorg()The name of the organization that owned the IP address.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends IpOwner.Builder>serializableBuilderClass()IpOwner.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
asn
public final String asn()
The autonomous system number (ASN) for the autonomous system that included the IP address.
- Returns:
- The autonomous system number (ASN) for the autonomous system that included the IP address.
-
asnOrg
public final String asnOrg()
The organization identifier that's associated with the autonomous system number (ASN) for the autonomous system that included the IP address.
- Returns:
- The organization identifier that's associated with the autonomous system number (ASN) for the autonomous system that included the IP address.
-
isp
public final String isp()
The name of the internet service provider (ISP) that owned the IP address.
- Returns:
- The name of the internet service provider (ISP) that owned the IP address.
-
org
public final String org()
The name of the organization that owned the IP address.
- Returns:
- The name of the organization that owned the IP address.
-
toBuilder
public IpOwner.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IpOwner.Builder,IpOwner>
-
builder
public static IpOwner.Builder builder()
-
serializableBuilderClass
public static Class<? extends IpOwner.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-