@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Resource extends Object implements Serializable, Cloneable, StructuredPojo
A resource is one of the following: the ARN for an Amazon Web Services resource that is supported by Global Accelerator to be added as an endpoint, or a CIDR range that specifies a bring your own IP (BYOIP) address pool.
Constructor and Description |
---|
Resource() |
Modifier and Type | Method and Description |
---|---|
Resource |
clone() |
boolean |
equals(Object obj) |
String |
getCidr()
An IP address range, in CIDR format, that is specified as resource.
|
String |
getEndpointId()
The endpoint ID for the endpoint that is specified as a Amazon Web Services resource.
|
String |
getRegion()
The Amazon Web Services Region where a shared endpoint resource is located.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCidr(String cidr)
An IP address range, in CIDR format, that is specified as resource.
|
void |
setEndpointId(String endpointId)
The endpoint ID for the endpoint that is specified as a Amazon Web Services resource.
|
void |
setRegion(String region)
The Amazon Web Services Region where a shared endpoint resource is located.
|
String |
toString()
Returns a string representation of this object.
|
Resource |
withCidr(String cidr)
An IP address range, in CIDR format, that is specified as resource.
|
Resource |
withEndpointId(String endpointId)
The endpoint ID for the endpoint that is specified as a Amazon Web Services resource.
|
Resource |
withRegion(String region)
The Amazon Web Services Region where a shared endpoint resource is located.
|
public void setEndpointId(String endpointId)
The endpoint ID for the endpoint that is specified as a Amazon Web Services resource.
An endpoint ID for the cross-account feature is the ARN of an Amazon Web Services resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.
endpointId
- The endpoint ID for the endpoint that is specified as a Amazon Web Services resource.
An endpoint ID for the cross-account feature is the ARN of an Amazon Web Services resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.
public String getEndpointId()
The endpoint ID for the endpoint that is specified as a Amazon Web Services resource.
An endpoint ID for the cross-account feature is the ARN of an Amazon Web Services resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.
An endpoint ID for the cross-account feature is the ARN of an Amazon Web Services resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.
public Resource withEndpointId(String endpointId)
The endpoint ID for the endpoint that is specified as a Amazon Web Services resource.
An endpoint ID for the cross-account feature is the ARN of an Amazon Web Services resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.
endpointId
- The endpoint ID for the endpoint that is specified as a Amazon Web Services resource.
An endpoint ID for the cross-account feature is the ARN of an Amazon Web Services resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.
public void setCidr(String cidr)
An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and advertised in Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
cidr
- An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and
advertised in Global Accelerator by following the bring your own IP address (BYOIP) process for Global
Accelerator
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
public String getCidr()
An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and advertised in Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
public Resource withCidr(String cidr)
An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and advertised in Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
cidr
- An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and
advertised in Global Accelerator by following the bring your own IP address (BYOIP) process for Global
Accelerator
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
public void setRegion(String region)
The Amazon Web Services Region where a shared endpoint resource is located.
region
- The Amazon Web Services Region where a shared endpoint resource is located.public String getRegion()
The Amazon Web Services Region where a shared endpoint resource is located.
public Resource withRegion(String region)
The Amazon Web Services Region where a shared endpoint resource is located.
region
- The Amazon Web Services Region where a shared endpoint 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.