@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetGroupSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a target group.
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()
Lambda event structure version
|
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 list of 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)
Lambda event structure version
|
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 list of 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)
Lambda event structure version
|
TargetGroupSummary |
withLambdaEventStructureVersion(String lambdaEventStructureVersion)
Lambda event structure version
|
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 list of Amazon Resource Names (ARNs) of the service.
|
TargetGroupSummary |
withServiceArns(String... serviceArns)
The list of 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 IP address type defaults to 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 IP address type defaults to
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 IP address type defaults to ipv4
.
ipv4
and
ipv6
. This is an optional parameter. If not specified, the IP address type defaults to
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 IP address type defaults to 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 IP address type defaults to
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 IP address type defaults to 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 IP address type defaults to
ipv4
.IpAddressType
public void setLambdaEventStructureVersion(String lambdaEventStructureVersion)
Lambda event structure version
lambdaEventStructureVersion
- Lambda event structure versionLambdaEventStructureVersion
public String getLambdaEventStructureVersion()
Lambda event structure version
LambdaEventStructureVersion
public TargetGroupSummary withLambdaEventStructureVersion(String lambdaEventStructureVersion)
Lambda event structure version
lambdaEventStructureVersion
- Lambda event structure versionLambdaEventStructureVersion
public TargetGroupSummary withLambdaEventStructureVersion(LambdaEventStructureVersion lambdaEventStructureVersion)
Lambda event structure version
lambdaEventStructureVersion
- Lambda event structure versionLambdaEventStructureVersion
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 list of Amazon Resource Names (ARNs) of the service.
public void setServiceArns(Collection<String> serviceArns)
The list of Amazon Resource Names (ARNs) of the service.
serviceArns
- The list of Amazon Resource Names (ARNs) of the service.public TargetGroupSummary withServiceArns(String... serviceArns)
The list of 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 list of Amazon Resource Names (ARNs) of the service.public TargetGroupSummary withServiceArns(Collection<String> serviceArns)
The list of Amazon Resource Names (ARNs) of the service.
serviceArns
- The list of 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.