Class VpcPeeringConnectionOptionsDescription

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

public class VpcPeeringConnectionOptionsDescription extends Object implements Serializable, Cloneable

Describes the VPC peering connection options.

See Also:
  • Constructor Details

    • VpcPeeringConnectionOptionsDescription

      public VpcPeeringConnectionOptionsDescription()
  • Method Details

    • setAllowEgressFromLocalClassicLinkToRemoteVpc

      public void setAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)

      Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.

      Parameters:
      allowEgressFromLocalClassicLinkToRemoteVpc - Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.
    • getAllowEgressFromLocalClassicLinkToRemoteVpc

      public Boolean getAllowEgressFromLocalClassicLinkToRemoteVpc()

      Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.

      Returns:
      Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.
    • withAllowEgressFromLocalClassicLinkToRemoteVpc

      public VpcPeeringConnectionOptionsDescription withAllowEgressFromLocalClassicLinkToRemoteVpc(Boolean allowEgressFromLocalClassicLinkToRemoteVpc)

      Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.

      Parameters:
      allowEgressFromLocalClassicLinkToRemoteVpc - Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isAllowEgressFromLocalClassicLinkToRemoteVpc

      public Boolean isAllowEgressFromLocalClassicLinkToRemoteVpc()

      Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.

      Returns:
      Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.
    • setAllowEgressFromLocalVpcToRemoteClassicLink

      public void setAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)

      Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.

      Parameters:
      allowEgressFromLocalVpcToRemoteClassicLink - Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
    • getAllowEgressFromLocalVpcToRemoteClassicLink

      public Boolean getAllowEgressFromLocalVpcToRemoteClassicLink()

      Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.

      Returns:
      Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
    • withAllowEgressFromLocalVpcToRemoteClassicLink

      public VpcPeeringConnectionOptionsDescription withAllowEgressFromLocalVpcToRemoteClassicLink(Boolean allowEgressFromLocalVpcToRemoteClassicLink)

      Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.

      Parameters:
      allowEgressFromLocalVpcToRemoteClassicLink - Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isAllowEgressFromLocalVpcToRemoteClassicLink

      public Boolean isAllowEgressFromLocalVpcToRemoteClassicLink()

      Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.

      Returns:
      Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.
    • 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

      Overrides:
      clone in class Object