@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Resource extends Object implements Serializable, Cloneable, StructuredPojo
An Amazon Web Services resource that is supported by Global Accelerator and can be added as an endpoint for an accelerator.
Constructor and Description |
---|
Resource() |
Modifier and Type | Method and Description |
---|---|
Resource |
clone() |
boolean |
equals(Object obj) |
String |
getEndpointId()
The endpoint ID for the endpoint (Amazon Web Services resource).
|
String |
getRegion()
The Amazon Web Services Region where a resource is located.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndpointId(String endpointId)
The endpoint ID for the endpoint (Amazon Web Services resource).
|
void |
setRegion(String region)
The Amazon Web Services Region where a resource is located.
|
String |
toString()
Returns a string representation of this object.
|
Resource |
withEndpointId(String endpointId)
The endpoint ID for the endpoint (Amazon Web Services resource).
|
Resource |
withRegion(String region)
The Amazon Web Services Region where a resource is located.
|
public void setEndpointId(String endpointId)
The endpoint ID for the endpoint (Amazon Web Services resource).
endpointId
- The endpoint ID for the endpoint (Amazon Web Services resource).public String getEndpointId()
The endpoint ID for the endpoint (Amazon Web Services resource).
public Resource withEndpointId(String endpointId)
The endpoint ID for the endpoint (Amazon Web Services resource).
endpointId
- The endpoint ID for the endpoint (Amazon Web Services resource).public void setRegion(String region)
The Amazon Web Services Region where a resource is located.
region
- The Amazon Web Services Region where a resource is located.public String getRegion()
The Amazon Web Services Region where a resource is located.
public Resource withRegion(String region)
The Amazon Web Services Region where a resource is located.
region
- The Amazon Web Services Region where a resource is located.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.