Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class ModifyNetworkInterfaceAttributeRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.ModifyNetworkInterfaceAttributeRequest
All Implemented Interfaces:
Serializable

public class ModifyNetworkInterfaceAttributeRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ModifyNetworkInterfaceAttribute operation.

See Also:
AmazonEC2.modifyNetworkInterfaceAttribute(ModifyNetworkInterfaceAttributeRequest), Serialized Form

Constructor Summary
ModifyNetworkInterfaceAttributeRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 NetworkInterfaceAttachmentChanges getAttachment()
          Returns the value of the Attachment property for this object.
 String getDescription()
          String value
 List<String> getGroups()
          Returns the value of the Groups property for this object.
 String getNetworkInterfaceId()
          Returns the value of the NetworkInterfaceId property for this object.
 Boolean getSourceDestCheck()
          Boolean value
 int hashCode()
           
 Boolean isSourceDestCheck()
          Boolean value
 void setAttachment(NetworkInterfaceAttachmentChanges attachment)
          Sets the value of the Attachment property for this object.
 void setDescription(String description)
          String value
 void setGroups(Collection<String> groups)
          Sets the value of the Groups property for this object.
 void setNetworkInterfaceId(String networkInterfaceId)
          Sets the value of the NetworkInterfaceId property for this object.
 void setSourceDestCheck(Boolean sourceDestCheck)
          Boolean value
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ModifyNetworkInterfaceAttributeRequest withAttachment(NetworkInterfaceAttachmentChanges attachment)
          Sets the value of the Attachment property for this object.
 ModifyNetworkInterfaceAttributeRequest withDescription(String description)
          String value
 ModifyNetworkInterfaceAttributeRequest withGroups(Collection<String> groups)
          Sets the value of the Groups property for this object.
 ModifyNetworkInterfaceAttributeRequest withGroups(String... groups)
          Sets the value of the Groups property for this object.
 ModifyNetworkInterfaceAttributeRequest withNetworkInterfaceId(String networkInterfaceId)
          Sets the value of the NetworkInterfaceId property for this object.
 ModifyNetworkInterfaceAttributeRequest withSourceDestCheck(Boolean sourceDestCheck)
          Boolean value
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModifyNetworkInterfaceAttributeRequest

public ModifyNetworkInterfaceAttributeRequest()
Method Detail

getNetworkInterfaceId

public String getNetworkInterfaceId()
Returns the value of the NetworkInterfaceId property for this object.

Returns:
The value of the NetworkInterfaceId property for this object.

setNetworkInterfaceId

public void setNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.

Parameters:
networkInterfaceId - The new value for the NetworkInterfaceId property for this object.

withNetworkInterfaceId

public ModifyNetworkInterfaceAttributeRequest withNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
networkInterfaceId - The new value for the NetworkInterfaceId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
String value

Returns:
String value

setDescription

public void setDescription(String description)
String value

Parameters:
description - String value

withDescription

public ModifyNetworkInterfaceAttributeRequest withDescription(String description)
String value

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - String value
Returns:
A reference to this updated object so that method calls can be chained together.

isSourceDestCheck

public Boolean isSourceDestCheck()
Boolean value

Returns:
Boolean value

setSourceDestCheck

public void setSourceDestCheck(Boolean sourceDestCheck)
Boolean value

Parameters:
sourceDestCheck - Boolean value

withSourceDestCheck

public ModifyNetworkInterfaceAttributeRequest withSourceDestCheck(Boolean sourceDestCheck)
Boolean value

Returns a reference to this object so that method calls can be chained together.

Parameters:
sourceDestCheck - Boolean value
Returns:
A reference to this updated object so that method calls can be chained together.

getSourceDestCheck

public Boolean getSourceDestCheck()
Boolean value

Returns:
Boolean value

getGroups

public List<String> getGroups()
Returns the value of the Groups property for this object.

Returns:
The value of the Groups property for this object.

setGroups

public void setGroups(Collection<String> groups)
Sets the value of the Groups property for this object.

Parameters:
groups - The new value for the Groups property for this object.

withGroups

public ModifyNetworkInterfaceAttributeRequest withGroups(String... groups)
Sets the value of the Groups property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
groups - The new value for the Groups property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withGroups

public ModifyNetworkInterfaceAttributeRequest withGroups(Collection<String> groups)
Sets the value of the Groups property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
groups - The new value for the Groups property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttachment

public NetworkInterfaceAttachmentChanges getAttachment()
Returns the value of the Attachment property for this object.

Returns:
The value of the Attachment property for this object.

setAttachment

public void setAttachment(NetworkInterfaceAttachmentChanges attachment)
Sets the value of the Attachment property for this object.

Parameters:
attachment - The new value for the Attachment property for this object.

withAttachment

public ModifyNetworkInterfaceAttributeRequest withAttachment(NetworkInterfaceAttachmentChanges attachment)
Sets the value of the Attachment property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attachment - The new value for the Attachment property for this object.
Returns:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.