@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrafficMirrorTarget extends Object implements Serializable, Cloneable
Describes a Traffic Mirror target.
Constructor and Description |
---|
TrafficMirrorTarget() |
Modifier and Type | Method and Description |
---|---|
TrafficMirrorTarget |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
Information about the Traffic Mirror target.
|
String |
getGatewayLoadBalancerEndpointId()
The ID of the Gateway Load Balancer endpoint.
|
String |
getNetworkInterfaceId()
The network interface ID that is attached to the target.
|
String |
getNetworkLoadBalancerArn()
The Amazon Resource Name (ARN) of the Network Load Balancer.
|
String |
getOwnerId()
The ID of the account that owns the Traffic Mirror target.
|
List<Tag> |
getTags()
The tags assigned to the Traffic Mirror target.
|
String |
getTrafficMirrorTargetId()
The ID of the Traffic Mirror target.
|
String |
getType()
The type of Traffic Mirror target.
|
int |
hashCode() |
void |
setDescription(String description)
Information about the Traffic Mirror target.
|
void |
setGatewayLoadBalancerEndpointId(String gatewayLoadBalancerEndpointId)
The ID of the Gateway Load Balancer endpoint.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The network interface ID that is attached to the target.
|
void |
setNetworkLoadBalancerArn(String networkLoadBalancerArn)
The Amazon Resource Name (ARN) of the Network Load Balancer.
|
void |
setOwnerId(String ownerId)
The ID of the account that owns the Traffic Mirror target.
|
void |
setTags(Collection<Tag> tags)
The tags assigned to the Traffic Mirror target.
|
void |
setTrafficMirrorTargetId(String trafficMirrorTargetId)
The ID of the Traffic Mirror target.
|
void |
setType(String type)
The type of Traffic Mirror target.
|
String |
toString()
Returns a string representation of this object.
|
TrafficMirrorTarget |
withDescription(String description)
Information about the Traffic Mirror target.
|
TrafficMirrorTarget |
withGatewayLoadBalancerEndpointId(String gatewayLoadBalancerEndpointId)
The ID of the Gateway Load Balancer endpoint.
|
TrafficMirrorTarget |
withNetworkInterfaceId(String networkInterfaceId)
The network interface ID that is attached to the target.
|
TrafficMirrorTarget |
withNetworkLoadBalancerArn(String networkLoadBalancerArn)
The Amazon Resource Name (ARN) of the Network Load Balancer.
|
TrafficMirrorTarget |
withOwnerId(String ownerId)
The ID of the account that owns the Traffic Mirror target.
|
TrafficMirrorTarget |
withTags(Collection<Tag> tags)
The tags assigned to the Traffic Mirror target.
|
TrafficMirrorTarget |
withTags(Tag... tags)
The tags assigned to the Traffic Mirror target.
|
TrafficMirrorTarget |
withTrafficMirrorTargetId(String trafficMirrorTargetId)
The ID of the Traffic Mirror target.
|
TrafficMirrorTarget |
withType(String type)
The type of Traffic Mirror target.
|
TrafficMirrorTarget |
withType(TrafficMirrorTargetType type)
The type of Traffic Mirror target.
|
public void setTrafficMirrorTargetId(String trafficMirrorTargetId)
The ID of the Traffic Mirror target.
trafficMirrorTargetId
- The ID of the Traffic Mirror target.public String getTrafficMirrorTargetId()
The ID of the Traffic Mirror target.
public TrafficMirrorTarget withTrafficMirrorTargetId(String trafficMirrorTargetId)
The ID of the Traffic Mirror target.
trafficMirrorTargetId
- The ID of the Traffic Mirror target.public void setNetworkInterfaceId(String networkInterfaceId)
The network interface ID that is attached to the target.
networkInterfaceId
- The network interface ID that is attached to the target.public String getNetworkInterfaceId()
The network interface ID that is attached to the target.
public TrafficMirrorTarget withNetworkInterfaceId(String networkInterfaceId)
The network interface ID that is attached to the target.
networkInterfaceId
- The network interface ID that is attached to the target.public void setNetworkLoadBalancerArn(String networkLoadBalancerArn)
The Amazon Resource Name (ARN) of the Network Load Balancer.
networkLoadBalancerArn
- The Amazon Resource Name (ARN) of the Network Load Balancer.public String getNetworkLoadBalancerArn()
The Amazon Resource Name (ARN) of the Network Load Balancer.
public TrafficMirrorTarget withNetworkLoadBalancerArn(String networkLoadBalancerArn)
The Amazon Resource Name (ARN) of the Network Load Balancer.
networkLoadBalancerArn
- The Amazon Resource Name (ARN) of the Network Load Balancer.public void setType(String type)
The type of Traffic Mirror target.
type
- The type of Traffic Mirror target.TrafficMirrorTargetType
public String getType()
The type of Traffic Mirror target.
TrafficMirrorTargetType
public TrafficMirrorTarget withType(String type)
The type of Traffic Mirror target.
type
- The type of Traffic Mirror target.TrafficMirrorTargetType
public TrafficMirrorTarget withType(TrafficMirrorTargetType type)
The type of Traffic Mirror target.
type
- The type of Traffic Mirror target.TrafficMirrorTargetType
public void setDescription(String description)
Information about the Traffic Mirror target.
description
- Information about the Traffic Mirror target.public String getDescription()
Information about the Traffic Mirror target.
public TrafficMirrorTarget withDescription(String description)
Information about the Traffic Mirror target.
description
- Information about the Traffic Mirror target.public void setOwnerId(String ownerId)
The ID of the account that owns the Traffic Mirror target.
ownerId
- The ID of the account that owns the Traffic Mirror target.public String getOwnerId()
The ID of the account that owns the Traffic Mirror target.
public TrafficMirrorTarget withOwnerId(String ownerId)
The ID of the account that owns the Traffic Mirror target.
ownerId
- The ID of the account that owns the Traffic Mirror target.public List<Tag> getTags()
The tags assigned to the Traffic Mirror target.
public void setTags(Collection<Tag> tags)
The tags assigned to the Traffic Mirror target.
tags
- The tags assigned to the Traffic Mirror target.public TrafficMirrorTarget withTags(Tag... tags)
The tags assigned to the Traffic Mirror target.
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.
tags
- The tags assigned to the Traffic Mirror target.public TrafficMirrorTarget withTags(Collection<Tag> tags)
The tags assigned to the Traffic Mirror target.
tags
- The tags assigned to the Traffic Mirror target.public void setGatewayLoadBalancerEndpointId(String gatewayLoadBalancerEndpointId)
The ID of the Gateway Load Balancer endpoint.
gatewayLoadBalancerEndpointId
- The ID of the Gateway Load Balancer endpoint.public String getGatewayLoadBalancerEndpointId()
The ID of the Gateway Load Balancer endpoint.
public TrafficMirrorTarget withGatewayLoadBalancerEndpointId(String gatewayLoadBalancerEndpointId)
The ID of the Gateway Load Balancer endpoint.
gatewayLoadBalancerEndpointId
- The ID of the Gateway Load Balancer endpoint.public String toString()
toString
in class Object
Object.toString()
public TrafficMirrorTarget clone()