Class PhysicalNetworkInterface
- java.lang.Object
-
- software.amazon.awssdk.services.snowdevicemanagement.model.PhysicalNetworkInterface
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PhysicalNetworkInterface.Builder,PhysicalNetworkInterface>
@Generated("software.amazon.awssdk:codegen") public final class PhysicalNetworkInterface extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PhysicalNetworkInterface.Builder,PhysicalNetworkInterface>
The details about the physical network interface for the device.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePhysicalNetworkInterface.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PhysicalNetworkInterface.Builderbuilder()StringdefaultGateway()The default gateway of the device.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringipAddress()The IP address of the device.IpAddressAssignmentipAddressAssignment()A value that describes whether the IP address is dynamic or persistent.StringipAddressAssignmentAsString()A value that describes whether the IP address is dynamic or persistent.StringmacAddress()The MAC address of the device.Stringnetmask()The netmask used to divide the IP address into subnets.PhysicalConnectorTypephysicalConnectorType()The physical connector type.StringphysicalConnectorTypeAsString()The physical connector type.StringphysicalNetworkInterfaceId()The physical network interface ID.List<SdkField<?>>sdkFields()static Class<? extends PhysicalNetworkInterface.Builder>serializableBuilderClass()PhysicalNetworkInterface.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
-
defaultGateway
public final String defaultGateway()
The default gateway of the device.
- Returns:
- The default gateway of the device.
-
ipAddress
public final String ipAddress()
The IP address of the device.
- Returns:
- The IP address of the device.
-
ipAddressAssignment
public final IpAddressAssignment ipAddressAssignment()
A value that describes whether the IP address is dynamic or persistent.
If the service returns an enum value that is not available in the current SDK version,
ipAddressAssignmentwill returnIpAddressAssignment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipAddressAssignmentAsString().- Returns:
- A value that describes whether the IP address is dynamic or persistent.
- See Also:
IpAddressAssignment
-
ipAddressAssignmentAsString
public final String ipAddressAssignmentAsString()
A value that describes whether the IP address is dynamic or persistent.
If the service returns an enum value that is not available in the current SDK version,
ipAddressAssignmentwill returnIpAddressAssignment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipAddressAssignmentAsString().- Returns:
- A value that describes whether the IP address is dynamic or persistent.
- See Also:
IpAddressAssignment
-
macAddress
public final String macAddress()
The MAC address of the device.
- Returns:
- The MAC address of the device.
-
netmask
public final String netmask()
The netmask used to divide the IP address into subnets.
- Returns:
- The netmask used to divide the IP address into subnets.
-
physicalConnectorType
public final PhysicalConnectorType physicalConnectorType()
The physical connector type.
If the service returns an enum value that is not available in the current SDK version,
physicalConnectorTypewill returnPhysicalConnectorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromphysicalConnectorTypeAsString().- Returns:
- The physical connector type.
- See Also:
PhysicalConnectorType
-
physicalConnectorTypeAsString
public final String physicalConnectorTypeAsString()
The physical connector type.
If the service returns an enum value that is not available in the current SDK version,
physicalConnectorTypewill returnPhysicalConnectorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromphysicalConnectorTypeAsString().- Returns:
- The physical connector type.
- See Also:
PhysicalConnectorType
-
physicalNetworkInterfaceId
public final String physicalNetworkInterfaceId()
The physical network interface ID.
- Returns:
- The physical network interface ID.
-
toBuilder
public PhysicalNetworkInterface.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PhysicalNetworkInterface.Builder,PhysicalNetworkInterface>
-
builder
public static PhysicalNetworkInterface.Builder builder()
-
serializableBuilderClass
public static Class<? extends PhysicalNetworkInterface.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.
-
-