@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetGroupSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a target group.
For more information, see Target groups in the Amazon VPC Lattice User Guide.
Constructor and Description |
---|
TargetGroupSummary() |
Modifier and Type | Method and Description |
---|---|
TargetGroupSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN (Amazon Resource Name) of the target group.
|
Date |
getCreatedAt()
The date and time that the target group was created, specified in ISO-8601 format.
|
String |
getId()
The ID of the target group.
|
String |
getIpAddressType()
The type of IP address used for the target group.
|
String |
getLambdaEventStructureVersion()
The version of the event structure that your Lambda function receives.
|
Date |
getLastUpdatedAt()
The date and time that the target group was last updated, specified in ISO-8601 format.
|
String |
getName()
The name of the target group.
|
Integer |
getPort()
The port of the target group.
|
String |
getProtocol()
The protocol of the target group.
|
List<String> |
getServiceArns()
The Amazon Resource Names (ARNs) of the service.
|
String |
getStatus()
The status.
|
String |
getType()
The target group type.
|
String |
getVpcIdentifier()
The ID of the VPC of the target group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN (Amazon Resource Name) of the target group.
|
void |
setCreatedAt(Date createdAt)
The date and time that the target group was created, specified in ISO-8601 format.
|
void |
setId(String id)
The ID of the target group.
|
void |
setIpAddressType(String ipAddressType)
The type of IP address used for the target group.
|
void |
setLambdaEventStructureVersion(String lambdaEventStructureVersion)
The version of the event structure that your Lambda function receives.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The date and time that the target group was last updated, specified in ISO-8601 format.
|
void |
setName(String name)
The name of the target group.
|
void |
setPort(Integer port)
The port of the target group.
|
void |
setProtocol(String protocol)
The protocol of the target group.
|
void |
setServiceArns(Collection<String> serviceArns)
The Amazon Resource Names (ARNs) of the service.
|
void |
setStatus(String status)
The status.
|
void |
setType(String type)
The target group type.
|
void |
setVpcIdentifier(String vpcIdentifier)
The ID of the VPC of the target group.
|
String |
toString()
Returns a string representation of this object.
|
TargetGroupSummary |
withArn(String arn)
The ARN (Amazon Resource Name) of the target group.
|
TargetGroupSummary |
withCreatedAt(Date createdAt)
The date and time that the target group was created, specified in ISO-8601 format.
|
TargetGroupSummary |
withId(String id)
The ID of the target group.
|
TargetGroupSummary |
withIpAddressType(IpAddressType ipAddressType)
The type of IP address used for the target group.
|
TargetGroupSummary |
withIpAddressType(String ipAddressType)
The type of IP address used for the target group.
|
TargetGroupSummary |
withLambdaEventStructureVersion(LambdaEventStructureVersion lambdaEventStructureVersion)
The version of the event structure that your Lambda function receives.
|
TargetGroupSummary |
withLambdaEventStructureVersion(String lambdaEventStructureVersion)
The version of the event structure that your Lambda function receives.
|
TargetGroupSummary |
withLastUpdatedAt(Date lastUpdatedAt)
The date and time that the target group was last updated, specified in ISO-8601 format.
|
TargetGroupSummary |
withName(String name)
The name of the target group.
|
TargetGroupSummary |
withPort(Integer port)
The port of the target group.
|
TargetGroupSummary |
withProtocol(String protocol)
The protocol of the target group.
|
TargetGroupSummary |
withProtocol(TargetGroupProtocol protocol)
The protocol of the target group.
|
TargetGroupSummary |
withServiceArns(Collection<String> serviceArns)
The Amazon Resource Names (ARNs) of the service.
|
TargetGroupSummary |
withServiceArns(String... serviceArns)
The Amazon Resource Names (ARNs) of the service.
|
TargetGroupSummary |
withStatus(String status)
The status.
|
TargetGroupSummary |
withStatus(TargetGroupStatus status)
The status.
|
TargetGroupSummary |
withType(String type)
The target group type.
|
TargetGroupSummary |
withType(TargetGroupType type)
The target group type.
|
TargetGroupSummary |
withVpcIdentifier(String vpcIdentifier)
The ID of the VPC of the target group.
|
public void setArn(String arn)
The ARN (Amazon Resource Name) of the target group.
arn
- The ARN (Amazon Resource Name) of the target group.public String getArn()
The ARN (Amazon Resource Name) of the target group.
public TargetGroupSummary withArn(String arn)
The ARN (Amazon Resource Name) of the target group.
arn
- The ARN (Amazon Resource Name) of the target group.public void setCreatedAt(Date createdAt)
The date and time that the target group was created, specified in ISO-8601 format.
createdAt
- The date and time that the target group was created, specified in ISO-8601 format.public Date getCreatedAt()
The date and time that the target group was created, specified in ISO-8601 format.
public TargetGroupSummary withCreatedAt(Date createdAt)
The date and time that the target group was created, specified in ISO-8601 format.
createdAt
- The date and time that the target group was created, specified in ISO-8601 format.public void setId(String id)
The ID of the target group.
id
- The ID of the target group.public String getId()
The ID of the target group.
public TargetGroupSummary withId(String id)
The ID of the target group.
id
- The ID of the target group.public void setIpAddressType(String ipAddressType)
The type of IP address used for the target group. The possible values are IPV4
and IPV6
. This is an optional parameter. If not specified, the default is IPV4
.
ipAddressType
- The type of IP address used for the target group. The possible values are IPV4
and
IPV6
. This is an optional parameter. If not specified, the default is IPV4
.IpAddressType
public String getIpAddressType()
The type of IP address used for the target group. The possible values are IPV4
and IPV6
. This is an optional parameter. If not specified, the default is IPV4
.
IPV4
and
IPV6
. This is an optional parameter. If not specified, the default is IPV4
.IpAddressType
public TargetGroupSummary withIpAddressType(String ipAddressType)
The type of IP address used for the target group. The possible values are IPV4
and IPV6
. This is an optional parameter. If not specified, the default is IPV4
.
ipAddressType
- The type of IP address used for the target group. The possible values are IPV4
and
IPV6
. This is an optional parameter. If not specified, the default is IPV4
.IpAddressType
public TargetGroupSummary withIpAddressType(IpAddressType ipAddressType)
The type of IP address used for the target group. The possible values are IPV4
and IPV6
. This is an optional parameter. If not specified, the default is IPV4
.
ipAddressType
- The type of IP address used for the target group. The possible values are IPV4
and
IPV6
. This is an optional parameter. If not specified, the default is IPV4
.IpAddressType
public void setLambdaEventStructureVersion(String lambdaEventStructureVersion)
The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA
.
lambdaEventStructureVersion
- The version of the event structure that your Lambda function receives. Supported only if the target group
type is LAMBDA
.LambdaEventStructureVersion
public String getLambdaEventStructureVersion()
The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA
.
LAMBDA
.LambdaEventStructureVersion
public TargetGroupSummary withLambdaEventStructureVersion(String lambdaEventStructureVersion)
The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA
.
lambdaEventStructureVersion
- The version of the event structure that your Lambda function receives. Supported only if the target group
type is LAMBDA
.LambdaEventStructureVersion
public TargetGroupSummary withLambdaEventStructureVersion(LambdaEventStructureVersion lambdaEventStructureVersion)
The version of the event structure that your Lambda function receives. Supported only if the target group type is
LAMBDA
.
lambdaEventStructureVersion
- The version of the event structure that your Lambda function receives. Supported only if the target group
type is LAMBDA
.LambdaEventStructureVersion
public void setLastUpdatedAt(Date lastUpdatedAt)
The date and time that the target group was last updated, specified in ISO-8601 format.
lastUpdatedAt
- The date and time that the target group was last updated, specified in ISO-8601 format.public Date getLastUpdatedAt()
The date and time that the target group was last updated, specified in ISO-8601 format.
public TargetGroupSummary withLastUpdatedAt(Date lastUpdatedAt)
The date and time that the target group was last updated, specified in ISO-8601 format.
lastUpdatedAt
- The date and time that the target group was last updated, specified in ISO-8601 format.public void setName(String name)
The name of the target group.
name
- The name of the target group.public String getName()
The name of the target group.
public TargetGroupSummary withName(String name)
The name of the target group.
name
- The name of the target group.public void setPort(Integer port)
The port of the target group.
port
- The port of the target group.public Integer getPort()
The port of the target group.
public TargetGroupSummary withPort(Integer port)
The port of the target group.
port
- The port of the target group.public void setProtocol(String protocol)
The protocol of the target group.
protocol
- The protocol of the target group.TargetGroupProtocol
public String getProtocol()
The protocol of the target group.
TargetGroupProtocol
public TargetGroupSummary withProtocol(String protocol)
The protocol of the target group.
protocol
- The protocol of the target group.TargetGroupProtocol
public TargetGroupSummary withProtocol(TargetGroupProtocol protocol)
The protocol of the target group.
protocol
- The protocol of the target group.TargetGroupProtocol
public List<String> getServiceArns()
The Amazon Resource Names (ARNs) of the service.
public void setServiceArns(Collection<String> serviceArns)
The Amazon Resource Names (ARNs) of the service.
serviceArns
- The Amazon Resource Names (ARNs) of the service.public TargetGroupSummary withServiceArns(String... serviceArns)
The Amazon Resource Names (ARNs) of the service.
NOTE: This method appends the values to the existing list (if any). Use
setServiceArns(java.util.Collection)
or withServiceArns(java.util.Collection)
if you want to
override the existing values.
serviceArns
- The Amazon Resource Names (ARNs) of the service.public TargetGroupSummary withServiceArns(Collection<String> serviceArns)
The Amazon Resource Names (ARNs) of the service.
serviceArns
- The Amazon Resource Names (ARNs) of the service.public void setStatus(String status)
The status.
status
- The status.TargetGroupStatus
public String getStatus()
The status.
TargetGroupStatus
public TargetGroupSummary withStatus(String status)
The status.
status
- The status.TargetGroupStatus
public TargetGroupSummary withStatus(TargetGroupStatus status)
The status.
status
- The status.TargetGroupStatus
public void setType(String type)
The target group type.
type
- The target group type.TargetGroupType
public String getType()
The target group type.
TargetGroupType
public TargetGroupSummary withType(String type)
The target group type.
type
- The target group type.TargetGroupType
public TargetGroupSummary withType(TargetGroupType type)
The target group type.
type
- The target group type.TargetGroupType
public void setVpcIdentifier(String vpcIdentifier)
The ID of the VPC of the target group.
vpcIdentifier
- The ID of the VPC of the target group.public String getVpcIdentifier()
The ID of the VPC of the target group.
public TargetGroupSummary withVpcIdentifier(String vpcIdentifier)
The ID of the VPC of the target group.
vpcIdentifier
- The ID of the VPC of the target group.public String toString()
toString
in class Object
Object.toString()
public TargetGroupSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.