@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResolverEndpoint extends Object implements Serializable, Cloneable, StructuredPojo
In the response to a CreateResolverEndpoint, DeleteResolverEndpoint, GetResolverEndpoint, ListResolverEndpoints, or UpdateResolverEndpoint request, a complex type that contains settings for an existing inbound or outbound resolver endpoint.
Constructor and Description |
---|
ResolverEndpoint() |
Modifier and Type | Method and Description |
---|---|
ResolverEndpoint |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN (Amazon Resource Name) for the resolver endpoint.
|
String |
getCreationTime()
The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).
|
String |
getCreatorRequestId()
A unique string that identifies the request that created the resolver endpoint.
|
String |
getDirection()
Indicates whether the resolver endpoint allows inbound or outbound DNS queries:
|
String |
getHostVPCId()
The ID of the VPC that you want to create the resolver endpoint in.
|
String |
getId()
The ID of the resolver endpoint.
|
Integer |
getIpAddressCount()
The number of IP addresses that the resolver endpoint can use for DNS queries.
|
String |
getModificationTime()
The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).
|
String |
getName()
The name that you assigned to the resolver endpoint when you submitted a CreateResolverEndpoint request.
|
List<String> |
getSecurityGroupIds()
The ID of one or more security groups that control access to this VPC.
|
String |
getStatus()
A code that specifies the current status of the resolver endpoint.
|
String |
getStatusMessage()
A detailed description of the status of the resolver endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN (Amazon Resource Name) for the resolver endpoint.
|
void |
setCreationTime(String creationTime)
The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).
|
void |
setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request that created the resolver endpoint.
|
void |
setDirection(String direction)
Indicates whether the resolver endpoint allows inbound or outbound DNS queries:
|
void |
setHostVPCId(String hostVPCId)
The ID of the VPC that you want to create the resolver endpoint in.
|
void |
setId(String id)
The ID of the resolver endpoint.
|
void |
setIpAddressCount(Integer ipAddressCount)
The number of IP addresses that the resolver endpoint can use for DNS queries.
|
void |
setModificationTime(String modificationTime)
The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).
|
void |
setName(String name)
The name that you assigned to the resolver endpoint when you submitted a CreateResolverEndpoint request.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The ID of one or more security groups that control access to this VPC.
|
void |
setStatus(String status)
A code that specifies the current status of the resolver endpoint.
|
void |
setStatusMessage(String statusMessage)
A detailed description of the status of the resolver endpoint.
|
String |
toString()
Returns a string representation of this object.
|
ResolverEndpoint |
withArn(String arn)
The ARN (Amazon Resource Name) for the resolver endpoint.
|
ResolverEndpoint |
withCreationTime(String creationTime)
The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).
|
ResolverEndpoint |
withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request that created the resolver endpoint.
|
ResolverEndpoint |
withDirection(ResolverEndpointDirection direction)
Indicates whether the resolver endpoint allows inbound or outbound DNS queries:
|
ResolverEndpoint |
withDirection(String direction)
Indicates whether the resolver endpoint allows inbound or outbound DNS queries:
|
ResolverEndpoint |
withHostVPCId(String hostVPCId)
The ID of the VPC that you want to create the resolver endpoint in.
|
ResolverEndpoint |
withId(String id)
The ID of the resolver endpoint.
|
ResolverEndpoint |
withIpAddressCount(Integer ipAddressCount)
The number of IP addresses that the resolver endpoint can use for DNS queries.
|
ResolverEndpoint |
withModificationTime(String modificationTime)
The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).
|
ResolverEndpoint |
withName(String name)
The name that you assigned to the resolver endpoint when you submitted a CreateResolverEndpoint request.
|
ResolverEndpoint |
withSecurityGroupIds(Collection<String> securityGroupIds)
The ID of one or more security groups that control access to this VPC.
|
ResolverEndpoint |
withSecurityGroupIds(String... securityGroupIds)
The ID of one or more security groups that control access to this VPC.
|
ResolverEndpoint |
withStatus(ResolverEndpointStatus status)
A code that specifies the current status of the resolver endpoint.
|
ResolverEndpoint |
withStatus(String status)
A code that specifies the current status of the resolver endpoint.
|
ResolverEndpoint |
withStatusMessage(String statusMessage)
A detailed description of the status of the resolver endpoint.
|
public void setId(String id)
The ID of the resolver endpoint.
id
- The ID of the resolver endpoint.public String getId()
The ID of the resolver endpoint.
public ResolverEndpoint withId(String id)
The ID of the resolver endpoint.
id
- The ID of the resolver endpoint.public void setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request that created the resolver endpoint. The CreatorRequestId
allows failed requests to be retried without the risk of executing the operation twice.
creatorRequestId
- A unique string that identifies the request that created the resolver endpoint. The
CreatorRequestId
allows failed requests to be retried without the risk of executing the
operation twice.public String getCreatorRequestId()
A unique string that identifies the request that created the resolver endpoint. The CreatorRequestId
allows failed requests to be retried without the risk of executing the operation twice.
CreatorRequestId
allows failed requests to be retried without the risk of executing the
operation twice.public ResolverEndpoint withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request that created the resolver endpoint. The CreatorRequestId
allows failed requests to be retried without the risk of executing the operation twice.
creatorRequestId
- A unique string that identifies the request that created the resolver endpoint. The
CreatorRequestId
allows failed requests to be retried without the risk of executing the
operation twice.public void setArn(String arn)
The ARN (Amazon Resource Name) for the resolver endpoint.
arn
- The ARN (Amazon Resource Name) for the resolver endpoint.public String getArn()
The ARN (Amazon Resource Name) for the resolver endpoint.
public ResolverEndpoint withArn(String arn)
The ARN (Amazon Resource Name) for the resolver endpoint.
arn
- The ARN (Amazon Resource Name) for the resolver endpoint.public void setName(String name)
The name that you assigned to the resolver endpoint when you submitted a CreateResolverEndpoint request.
name
- The name that you assigned to the resolver endpoint when you submitted a CreateResolverEndpoint
request.public String getName()
The name that you assigned to the resolver endpoint when you submitted a CreateResolverEndpoint request.
public ResolverEndpoint withName(String name)
The name that you assigned to the resolver endpoint when you submitted a CreateResolverEndpoint request.
name
- The name that you assigned to the resolver endpoint when you submitted a CreateResolverEndpoint
request.public List<String> getSecurityGroupIds()
The ID of one or more security groups that control access to this VPC. The security group must include one or more inbound resolver rules.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The ID of one or more security groups that control access to this VPC. The security group must include one or more inbound resolver rules.
securityGroupIds
- The ID of one or more security groups that control access to this VPC. The security group must include one
or more inbound resolver rules.public ResolverEndpoint withSecurityGroupIds(String... securityGroupIds)
The ID of one or more security groups that control access to this VPC. The security group must include one or more inbound resolver rules.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The ID of one or more security groups that control access to this VPC. The security group must include one
or more inbound resolver rules.public ResolverEndpoint withSecurityGroupIds(Collection<String> securityGroupIds)
The ID of one or more security groups that control access to this VPC. The security group must include one or more inbound resolver rules.
securityGroupIds
- The ID of one or more security groups that control access to this VPC. The security group must include one
or more inbound resolver rules.public void setDirection(String direction)
Indicates whether the resolver endpoint allows inbound or outbound DNS queries:
INBOUND
: allows DNS queries to your VPC from your network or another VPC
OUTBOUND
: allows DNS queries from your VPC to your network or another VPC
direction
- Indicates whether the resolver endpoint allows inbound or outbound DNS queries:
INBOUND
: allows DNS queries to your VPC from your network or another VPC
OUTBOUND
: allows DNS queries from your VPC to your network or another VPC
ResolverEndpointDirection
public String getDirection()
Indicates whether the resolver endpoint allows inbound or outbound DNS queries:
INBOUND
: allows DNS queries to your VPC from your network or another VPC
OUTBOUND
: allows DNS queries from your VPC to your network or another VPC
INBOUND
: allows DNS queries to your VPC from your network or another VPC
OUTBOUND
: allows DNS queries from your VPC to your network or another VPC
ResolverEndpointDirection
public ResolverEndpoint withDirection(String direction)
Indicates whether the resolver endpoint allows inbound or outbound DNS queries:
INBOUND
: allows DNS queries to your VPC from your network or another VPC
OUTBOUND
: allows DNS queries from your VPC to your network or another VPC
direction
- Indicates whether the resolver endpoint allows inbound or outbound DNS queries:
INBOUND
: allows DNS queries to your VPC from your network or another VPC
OUTBOUND
: allows DNS queries from your VPC to your network or another VPC
ResolverEndpointDirection
public ResolverEndpoint withDirection(ResolverEndpointDirection direction)
Indicates whether the resolver endpoint allows inbound or outbound DNS queries:
INBOUND
: allows DNS queries to your VPC from your network or another VPC
OUTBOUND
: allows DNS queries from your VPC to your network or another VPC
direction
- Indicates whether the resolver endpoint allows inbound or outbound DNS queries:
INBOUND
: allows DNS queries to your VPC from your network or another VPC
OUTBOUND
: allows DNS queries from your VPC to your network or another VPC
ResolverEndpointDirection
public void setIpAddressCount(Integer ipAddressCount)
The number of IP addresses that the resolver endpoint can use for DNS queries.
ipAddressCount
- The number of IP addresses that the resolver endpoint can use for DNS queries.public Integer getIpAddressCount()
The number of IP addresses that the resolver endpoint can use for DNS queries.
public ResolverEndpoint withIpAddressCount(Integer ipAddressCount)
The number of IP addresses that the resolver endpoint can use for DNS queries.
ipAddressCount
- The number of IP addresses that the resolver endpoint can use for DNS queries.public void setHostVPCId(String hostVPCId)
The ID of the VPC that you want to create the resolver endpoint in.
hostVPCId
- The ID of the VPC that you want to create the resolver endpoint in.public String getHostVPCId()
The ID of the VPC that you want to create the resolver endpoint in.
public ResolverEndpoint withHostVPCId(String hostVPCId)
The ID of the VPC that you want to create the resolver endpoint in.
hostVPCId
- The ID of the VPC that you want to create the resolver endpoint in.public void setStatus(String status)
A code that specifies the current status of the resolver endpoint.
status
- A code that specifies the current status of the resolver endpoint.ResolverEndpointStatus
public String getStatus()
A code that specifies the current status of the resolver endpoint.
ResolverEndpointStatus
public ResolverEndpoint withStatus(String status)
A code that specifies the current status of the resolver endpoint.
status
- A code that specifies the current status of the resolver endpoint.ResolverEndpointStatus
public ResolverEndpoint withStatus(ResolverEndpointStatus status)
A code that specifies the current status of the resolver endpoint.
status
- A code that specifies the current status of the resolver endpoint.ResolverEndpointStatus
public void setStatusMessage(String statusMessage)
A detailed description of the status of the resolver endpoint.
statusMessage
- A detailed description of the status of the resolver endpoint.public String getStatusMessage()
A detailed description of the status of the resolver endpoint.
public ResolverEndpoint withStatusMessage(String statusMessage)
A detailed description of the status of the resolver endpoint.
statusMessage
- A detailed description of the status of the resolver endpoint.public void setCreationTime(String creationTime)
The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).
creationTime
- The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).public String getCreationTime()
The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).
public ResolverEndpoint withCreationTime(String creationTime)
The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).
creationTime
- The date and time that the endpoint was created, in Unix time format and Coordinated Universal Time (UTC).public void setModificationTime(String modificationTime)
The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).
modificationTime
- The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time
(UTC).public String getModificationTime()
The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).
public ResolverEndpoint withModificationTime(String modificationTime)
The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time (UTC).
modificationTime
- The date and time that the endpoint was last modified, in Unix time format and Coordinated Universal Time
(UTC).public String toString()
toString
in class Object
Object.toString()
public ResolverEndpoint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.