Class InstanceNetworkInterfaceAttachment
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a network interface attachment.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of the network interface attachment.The time stamp when the attachment initiated.Indicates whether the network interface is deleted when the instance is terminated.The index of the device on the instance for the network interface attachment.The attachment state.int
hashCode()
Indicates whether the network interface is deleted when the instance is terminated.void
setAttachmentId
(String attachmentId) The ID of the network interface attachment.void
setAttachTime
(Date attachTime) The time stamp when the attachment initiated.void
setDeleteOnTermination
(Boolean deleteOnTermination) Indicates whether the network interface is deleted when the instance is terminated.void
setDeviceIndex
(Integer deviceIndex) The index of the device on the instance for the network interface attachment.void
setStatus
(AttachmentStatus status) The attachment state.void
The attachment state.toString()
Returns a string representation of this object; useful for testing and debugging.withAttachmentId
(String attachmentId) The ID of the network interface attachment.withAttachTime
(Date attachTime) The time stamp when the attachment initiated.withDeleteOnTermination
(Boolean deleteOnTermination) Indicates whether the network interface is deleted when the instance is terminated.withDeviceIndex
(Integer deviceIndex) The index of the device on the instance for the network interface attachment.withStatus
(AttachmentStatus status) The attachment state.withStatus
(String status) The attachment state.
-
Constructor Details
-
InstanceNetworkInterfaceAttachment
public InstanceNetworkInterfaceAttachment()
-
-
Method Details
-
setAttachmentId
The ID of the network interface attachment.
- Parameters:
attachmentId
- The ID of the network interface attachment.
-
getAttachmentId
The ID of the network interface attachment.
- Returns:
- The ID of the network interface attachment.
-
withAttachmentId
The ID of the network interface attachment.
- Parameters:
attachmentId
- The ID of the network interface attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeviceIndex
The index of the device on the instance for the network interface attachment.
- Parameters:
deviceIndex
- The index of the device on the instance for the network interface attachment.
-
getDeviceIndex
The index of the device on the instance for the network interface attachment.
- Returns:
- The index of the device on the instance for the network interface attachment.
-
withDeviceIndex
The index of the device on the instance for the network interface attachment.
- Parameters:
deviceIndex
- The index of the device on the instance for the network interface attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The attachment state.
- Parameters:
status
- The attachment state.- See Also:
-
getStatus
The attachment state.
- Returns:
- The attachment state.
- See Also:
-
withStatus
The attachment state.
- Parameters:
status
- The attachment state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The attachment state.
- Parameters:
status
- The attachment state.- See Also:
-
withStatus
The attachment state.
- Parameters:
status
- The attachment state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setAttachTime
The time stamp when the attachment initiated.
- Parameters:
attachTime
- The time stamp when the attachment initiated.
-
getAttachTime
The time stamp when the attachment initiated.
- Returns:
- The time stamp when the attachment initiated.
-
withAttachTime
The time stamp when the attachment initiated.
- Parameters:
attachTime
- The time stamp when the attachment initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeleteOnTermination
Indicates whether the network interface is deleted when the instance is terminated.
- Parameters:
deleteOnTermination
- Indicates whether the network interface is deleted when the instance is terminated.
-
getDeleteOnTermination
Indicates whether the network interface is deleted when the instance is terminated.
- Returns:
- Indicates whether the network interface is deleted when the instance is terminated.
-
withDeleteOnTermination
Indicates whether the network interface is deleted when the instance is terminated.
- Parameters:
deleteOnTermination
- Indicates whether the network interface is deleted when the instance is terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDeleteOnTermination
Indicates whether the network interface is deleted when the instance is terminated.
- Returns:
- Indicates whether the network interface is deleted when the instance is terminated.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-