Class VpcClassicLink

java.lang.Object
com.amazonaws.services.ec2.model.VpcClassicLink
All Implemented Interfaces:
Serializable, Cloneable

public class VpcClassicLink extends Object implements Serializable, Cloneable

Describes whether a VPC is enabled for ClassicLink.

See Also:
  • Constructor Details

    • VpcClassicLink

      public VpcClassicLink()
  • Method Details

    • setVpcId

      public void setVpcId(String vpcId)

      The ID of the VPC.

      Parameters:
      vpcId - The ID of the VPC.
    • getVpcId

      public String getVpcId()

      The ID of the VPC.

      Returns:
      The ID of the VPC.
    • withVpcId

      public VpcClassicLink withVpcId(String vpcId)

      The ID of the VPC.

      Parameters:
      vpcId - The ID of the VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setClassicLinkEnabled

      public void setClassicLinkEnabled(Boolean classicLinkEnabled)

      Indicates whether the VPC is enabled for ClassicLink.

      Parameters:
      classicLinkEnabled - Indicates whether the VPC is enabled for ClassicLink.
    • getClassicLinkEnabled

      public Boolean getClassicLinkEnabled()

      Indicates whether the VPC is enabled for ClassicLink.

      Returns:
      Indicates whether the VPC is enabled for ClassicLink.
    • withClassicLinkEnabled

      public VpcClassicLink withClassicLinkEnabled(Boolean classicLinkEnabled)

      Indicates whether the VPC is enabled for ClassicLink.

      Parameters:
      classicLinkEnabled - Indicates whether the VPC is enabled for ClassicLink.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isClassicLinkEnabled

      public Boolean isClassicLinkEnabled()

      Indicates whether the VPC is enabled for ClassicLink.

      Returns:
      Indicates whether the VPC is enabled for ClassicLink.
    • getTags

      public List<Tag> getTags()

      Any tags assigned to the VPC.

      Returns:
      Any tags assigned to the VPC.
    • setTags

      public void setTags(Collection<Tag> tags)

      Any tags assigned to the VPC.

      Parameters:
      tags - Any tags assigned to the VPC.
    • withTags

      public VpcClassicLink withTags(Tag... tags)

      Any tags assigned to the VPC.

      NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

      Parameters:
      tags - Any tags assigned to the VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTags

      public VpcClassicLink withTags(Collection<Tag> tags)

      Any tags assigned to the VPC.

      Parameters:
      tags - Any tags assigned to the VPC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public VpcClassicLink clone()
      Overrides:
      clone in class Object