Class NetworkInterfaceAttachment
- 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 timestamp indicating when the attachment initiated.Indicates whether the network interface is deleted when the instance is terminated.The device index of the network interface attachment on the instance.The ID of the instance.The AWS account ID of the owner of the instance.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 timestamp indicating 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 device index of the network interface attachment on the instance.void
setInstanceId
(String instanceId) The ID of the instance.void
setInstanceOwnerId
(String instanceOwnerId) The AWS account ID of the owner of the instance.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 timestamp indicating when the attachment initiated.withDeleteOnTermination
(Boolean deleteOnTermination) Indicates whether the network interface is deleted when the instance is terminated.withDeviceIndex
(Integer deviceIndex) The device index of the network interface attachment on the instance.withInstanceId
(String instanceId) The ID of the instance.withInstanceOwnerId
(String instanceOwnerId) The AWS account ID of the owner of the instance.withStatus
(AttachmentStatus status) The attachment state.withStatus
(String status) The attachment state.
-
Constructor Details
-
NetworkInterfaceAttachment
public NetworkInterfaceAttachment()
-
-
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.
-
setInstanceId
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.
-
getInstanceId
The ID of the instance.
- Returns:
- The ID of the instance.
-
withInstanceId
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceOwnerId
The AWS account ID of the owner of the instance.
- Parameters:
instanceOwnerId
- The AWS account ID of the owner of the instance.
-
getInstanceOwnerId
The AWS account ID of the owner of the instance.
- Returns:
- The AWS account ID of the owner of the instance.
-
withInstanceOwnerId
The AWS account ID of the owner of the instance.
- Parameters:
instanceOwnerId
- The AWS account ID of the owner of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeviceIndex
The device index of the network interface attachment on the instance.
- Parameters:
deviceIndex
- The device index of the network interface attachment on the instance.
-
getDeviceIndex
The device index of the network interface attachment on the instance.
- Returns:
- The device index of the network interface attachment on the instance.
-
withDeviceIndex
The device index of the network interface attachment on the instance.
- Parameters:
deviceIndex
- The device index of the network interface attachment on the instance.- 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 timestamp indicating when the attachment initiated.
- Parameters:
attachTime
- The timestamp indicating when the attachment initiated.
-
getAttachTime
The timestamp indicating when the attachment initiated.
- Returns:
- The timestamp indicating when the attachment initiated.
-
withAttachTime
The timestamp indicating when the attachment initiated.
- Parameters:
attachTime
- The timestamp indicating 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
-