@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetResource extends Object implements Serializable, Cloneable, StructuredPojo
The target resource that the Route 53 record points to.
Constructor and Description |
---|
TargetResource() |
Modifier and Type | Method and Description |
---|---|
TargetResource |
clone() |
boolean |
equals(Object obj) |
NLBResource |
getNLBResource()
The Network Load Balancer Resource.
|
R53ResourceRecord |
getR53Resource()
The Route 53 resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNLBResource(NLBResource nLBResource)
The Network Load Balancer Resource.
|
void |
setR53Resource(R53ResourceRecord r53Resource)
The Route 53 resource.
|
String |
toString()
Returns a string representation of this object.
|
TargetResource |
withNLBResource(NLBResource nLBResource)
The Network Load Balancer Resource.
|
TargetResource |
withR53Resource(R53ResourceRecord r53Resource)
The Route 53 resource.
|
public void setNLBResource(NLBResource nLBResource)
The Network Load Balancer Resource.
nLBResource
- The Network Load Balancer Resource.public NLBResource getNLBResource()
The Network Load Balancer Resource.
public TargetResource withNLBResource(NLBResource nLBResource)
The Network Load Balancer Resource.
nLBResource
- The Network Load Balancer Resource.public void setR53Resource(R53ResourceRecord r53Resource)
The Route 53 resource.
r53Resource
- The Route 53 resource.public R53ResourceRecord getR53Resource()
The Route 53 resource.
public TargetResource withR53Resource(R53ResourceRecord r53Resource)
The Route 53 resource.
r53Resource
- The Route 53 resource.public String toString()
toString
in class Object
Object.toString()
public TargetResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.