Tabnine Logo
InstanceNetworkInterface.getPrivateDnsName
Code IndexAdd Tabnine to your IDE (free)

How to use
getPrivateDnsName
method
in
com.amazonaws.services.ec2.model.InstanceNetworkInterface

Best Java code snippets using com.amazonaws.services.ec2.model.InstanceNetworkInterface.getPrivateDnsName (Showing top 9 results out of 315)

origin: aws/aws-sdk-java

if (getOwnerId() != null)
  sb.append("OwnerId: ").append(getOwnerId()).append(",");
if (getPrivateDnsName() != null)
  sb.append("PrivateDnsName: ").append(getPrivateDnsName()).append(",");
if (getPrivateIpAddress() != null)
  sb.append("PrivateIpAddress: ").append(getPrivateIpAddress()).append(",");
origin: aws/aws-sdk-java

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode + ((getAssociation() == null) ? 0 : getAssociation().hashCode());
  hashCode = prime * hashCode + ((getAttachment() == null) ? 0 : getAttachment().hashCode());
  hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
  hashCode = prime * hashCode + ((getGroups() == null) ? 0 : getGroups().hashCode());
  hashCode = prime * hashCode + ((getIpv6Addresses() == null) ? 0 : getIpv6Addresses().hashCode());
  hashCode = prime * hashCode + ((getMacAddress() == null) ? 0 : getMacAddress().hashCode());
  hashCode = prime * hashCode + ((getNetworkInterfaceId() == null) ? 0 : getNetworkInterfaceId().hashCode());
  hashCode = prime * hashCode + ((getOwnerId() == null) ? 0 : getOwnerId().hashCode());
  hashCode = prime * hashCode + ((getPrivateDnsName() == null) ? 0 : getPrivateDnsName().hashCode());
  hashCode = prime * hashCode + ((getPrivateIpAddress() == null) ? 0 : getPrivateIpAddress().hashCode());
  hashCode = prime * hashCode + ((getPrivateIpAddresses() == null) ? 0 : getPrivateIpAddresses().hashCode());
  hashCode = prime * hashCode + ((getSourceDestCheck() == null) ? 0 : getSourceDestCheck().hashCode());
  hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode());
  hashCode = prime * hashCode + ((getSubnetId() == null) ? 0 : getSubnetId().hashCode());
  hashCode = prime * hashCode + ((getVpcId() == null) ? 0 : getVpcId().hashCode());
  return hashCode;
}
origin: aws/aws-sdk-java

if (other.getOwnerId() != null && other.getOwnerId().equals(this.getOwnerId()) == false)
  return false;
if (other.getPrivateDnsName() == null ^ this.getPrivateDnsName() == null)
  return false;
if (other.getPrivateDnsName() != null && other.getPrivateDnsName().equals(this.getPrivateDnsName()) == false)
  return false;
if (other.getPrivateIpAddress() == null ^ this.getPrivateIpAddress() == null)
origin: aws-amplify/aws-sdk-android

/**
 * Returns a string representation of this object; useful for testing and
 * debugging.
 *
 * @return A string representation of this object.
 *
 * @see java.lang.Object#toString()
 */
@Override
public String toString() {
  StringBuilder sb = new StringBuilder();
  sb.append("{");
  if (getNetworkInterfaceId() != null) sb.append("NetworkInterfaceId: " + getNetworkInterfaceId() + ",");
  if (getSubnetId() != null) sb.append("SubnetId: " + getSubnetId() + ",");
  if (getVpcId() != null) sb.append("VpcId: " + getVpcId() + ",");
  if (getDescription() != null) sb.append("Description: " + getDescription() + ",");
  if (getOwnerId() != null) sb.append("OwnerId: " + getOwnerId() + ",");
  if (getStatus() != null) sb.append("Status: " + getStatus() + ",");
  if (getMacAddress() != null) sb.append("MacAddress: " + getMacAddress() + ",");
  if (getPrivateIpAddress() != null) sb.append("PrivateIpAddress: " + getPrivateIpAddress() + ",");
  if (getPrivateDnsName() != null) sb.append("PrivateDnsName: " + getPrivateDnsName() + ",");
  if (isSourceDestCheck() != null) sb.append("SourceDestCheck: " + isSourceDestCheck() + ",");
  if (getGroups() != null) sb.append("Groups: " + getGroups() + ",");
  if (getAttachment() != null) sb.append("Attachment: " + getAttachment() + ",");
  if (getAssociation() != null) sb.append("Association: " + getAssociation() + ",");
  if (getPrivateIpAddresses() != null) sb.append("PrivateIpAddresses: " + getPrivateIpAddresses() );
  sb.append("}");
  return sb.toString();
}

origin: aws-amplify/aws-sdk-android

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  
  hashCode = prime * hashCode + ((getNetworkInterfaceId() == null) ? 0 : getNetworkInterfaceId().hashCode()); 
  hashCode = prime * hashCode + ((getSubnetId() == null) ? 0 : getSubnetId().hashCode()); 
  hashCode = prime * hashCode + ((getVpcId() == null) ? 0 : getVpcId().hashCode()); 
  hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); 
  hashCode = prime * hashCode + ((getOwnerId() == null) ? 0 : getOwnerId().hashCode()); 
  hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); 
  hashCode = prime * hashCode + ((getMacAddress() == null) ? 0 : getMacAddress().hashCode()); 
  hashCode = prime * hashCode + ((getPrivateIpAddress() == null) ? 0 : getPrivateIpAddress().hashCode()); 
  hashCode = prime * hashCode + ((getPrivateDnsName() == null) ? 0 : getPrivateDnsName().hashCode()); 
  hashCode = prime * hashCode + ((isSourceDestCheck() == null) ? 0 : isSourceDestCheck().hashCode()); 
  hashCode = prime * hashCode + ((getGroups() == null) ? 0 : getGroups().hashCode()); 
  hashCode = prime * hashCode + ((getAttachment() == null) ? 0 : getAttachment().hashCode()); 
  hashCode = prime * hashCode + ((getAssociation() == null) ? 0 : getAssociation().hashCode()); 
  hashCode = prime * hashCode + ((getPrivateIpAddresses() == null) ? 0 : getPrivateIpAddresses().hashCode()); 
  return hashCode;
}

origin: aws-amplify/aws-sdk-android

if (other.getPrivateIpAddress() == null ^ this.getPrivateIpAddress() == null) return false;
if (other.getPrivateIpAddress() != null && other.getPrivateIpAddress().equals(this.getPrivateIpAddress()) == false) return false; 
if (other.getPrivateDnsName() == null ^ this.getPrivateDnsName() == null) return false;
if (other.getPrivateDnsName() != null && other.getPrivateDnsName().equals(this.getPrivateDnsName()) == false) return false; 
if (other.isSourceDestCheck() == null ^ this.isSourceDestCheck() == null) return false;
if (other.isSourceDestCheck() != null && other.isSourceDestCheck().equals(this.isSourceDestCheck()) == false) return false; 
origin: com.amazonaws/aws-java-sdk-ec2

if (getOwnerId() != null)
  sb.append("OwnerId: ").append(getOwnerId()).append(",");
if (getPrivateDnsName() != null)
  sb.append("PrivateDnsName: ").append(getPrivateDnsName()).append(",");
if (getPrivateIpAddress() != null)
  sb.append("PrivateIpAddress: ").append(getPrivateIpAddress()).append(",");
origin: com.amazonaws/aws-java-sdk-ec2

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode + ((getAssociation() == null) ? 0 : getAssociation().hashCode());
  hashCode = prime * hashCode + ((getAttachment() == null) ? 0 : getAttachment().hashCode());
  hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
  hashCode = prime * hashCode + ((getGroups() == null) ? 0 : getGroups().hashCode());
  hashCode = prime * hashCode + ((getIpv6Addresses() == null) ? 0 : getIpv6Addresses().hashCode());
  hashCode = prime * hashCode + ((getMacAddress() == null) ? 0 : getMacAddress().hashCode());
  hashCode = prime * hashCode + ((getNetworkInterfaceId() == null) ? 0 : getNetworkInterfaceId().hashCode());
  hashCode = prime * hashCode + ((getOwnerId() == null) ? 0 : getOwnerId().hashCode());
  hashCode = prime * hashCode + ((getPrivateDnsName() == null) ? 0 : getPrivateDnsName().hashCode());
  hashCode = prime * hashCode + ((getPrivateIpAddress() == null) ? 0 : getPrivateIpAddress().hashCode());
  hashCode = prime * hashCode + ((getPrivateIpAddresses() == null) ? 0 : getPrivateIpAddresses().hashCode());
  hashCode = prime * hashCode + ((getSourceDestCheck() == null) ? 0 : getSourceDestCheck().hashCode());
  hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode());
  hashCode = prime * hashCode + ((getSubnetId() == null) ? 0 : getSubnetId().hashCode());
  hashCode = prime * hashCode + ((getVpcId() == null) ? 0 : getVpcId().hashCode());
  return hashCode;
}
origin: com.amazonaws/aws-java-sdk-ec2

if (other.getOwnerId() != null && other.getOwnerId().equals(this.getOwnerId()) == false)
  return false;
if (other.getPrivateDnsName() == null ^ this.getPrivateDnsName() == null)
  return false;
if (other.getPrivateDnsName() != null && other.getPrivateDnsName().equals(this.getPrivateDnsName()) == false)
  return false;
if (other.getPrivateIpAddress() == null ^ this.getPrivateIpAddress() == null)
com.amazonaws.services.ec2.modelInstanceNetworkInterfacegetPrivateDnsName

Javadoc

The private DNS name.

Popular methods of InstanceNetworkInterface

  • getAttachment
    The network interface attachment.
  • getPrivateIpAddress
    The IPv4 address of the network interface within the subnet.
  • getNetworkInterfaceId
    The ID of the network interface.
  • <init>
  • getAssociation
    The association information for an Elastic IPv4 associated with the network interface.
  • getDescription
    The description.
  • getGroups
    One or more security groups.
  • getMacAddress
    The MAC address.
  • getOwnerId
    The ID of the AWS account that created the network interface.
  • getPrivateIpAddresses
    One or more private IPv4 addresses associated with the network interface.
  • getStatus
    The status of the network interface.
  • getSubnetId
    The ID of the subnet.
  • getStatus,
  • getSubnetId,
  • getVpcId,
  • setAssociation,
  • setAttachment,
  • setDescription,
  • setGroups,
  • setMacAddress,
  • setNetworkInterfaceId

Popular in Java

  • Updating database using SQL prepared statement
  • setScale (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • addToBackStack (FragmentTransaction)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • JButton (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now