@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElbv2LoadBalancerDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about a load balancer.
Constructor and Description |
---|
AwsElbv2LoadBalancerDetails() |
Modifier and Type | Method and Description |
---|---|
AwsElbv2LoadBalancerDetails |
clone() |
boolean |
equals(Object obj) |
List<AvailabilityZone> |
getAvailabilityZones()
The Availability Zones for the load balancer.
|
String |
getCanonicalHostedZoneId()
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
|
String |
getCreatedTime()
Indicates when the load balancer was created.
|
String |
getDNSName()
The public DNS name of the load balancer.
|
String |
getIpAddressType()
The type of IP addresses used by the subnets for your load balancer.
|
List<AwsElbv2LoadBalancerAttribute> |
getLoadBalancerAttributes()
Attributes of the load balancer.
|
String |
getScheme()
The nodes of an Internet-facing load balancer have public IP addresses.
|
List<String> |
getSecurityGroups()
The IDs of the security groups for the load balancer.
|
LoadBalancerState |
getState()
The state of the load balancer.
|
String |
getType()
The type of load balancer.
|
String |
getVpcId()
The ID of the VPC for the load balancer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones for the load balancer.
|
void |
setCanonicalHostedZoneId(String canonicalHostedZoneId)
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
|
void |
setCreatedTime(String createdTime)
Indicates when the load balancer was created.
|
void |
setDNSName(String dNSName)
The public DNS name of the load balancer.
|
void |
setIpAddressType(String ipAddressType)
The type of IP addresses used by the subnets for your load balancer.
|
void |
setLoadBalancerAttributes(Collection<AwsElbv2LoadBalancerAttribute> loadBalancerAttributes)
Attributes of the load balancer.
|
void |
setScheme(String scheme)
The nodes of an Internet-facing load balancer have public IP addresses.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups for the load balancer.
|
void |
setState(LoadBalancerState state)
The state of the load balancer.
|
void |
setType(String type)
The type of load balancer.
|
void |
setVpcId(String vpcId)
The ID of the VPC for the load balancer.
|
String |
toString()
Returns a string representation of this object.
|
AwsElbv2LoadBalancerDetails |
withAvailabilityZones(AvailabilityZone... availabilityZones)
The Availability Zones for the load balancer.
|
AwsElbv2LoadBalancerDetails |
withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones for the load balancer.
|
AwsElbv2LoadBalancerDetails |
withCanonicalHostedZoneId(String canonicalHostedZoneId)
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
|
AwsElbv2LoadBalancerDetails |
withCreatedTime(String createdTime)
Indicates when the load balancer was created.
|
AwsElbv2LoadBalancerDetails |
withDNSName(String dNSName)
The public DNS name of the load balancer.
|
AwsElbv2LoadBalancerDetails |
withIpAddressType(String ipAddressType)
The type of IP addresses used by the subnets for your load balancer.
|
AwsElbv2LoadBalancerDetails |
withLoadBalancerAttributes(AwsElbv2LoadBalancerAttribute... loadBalancerAttributes)
Attributes of the load balancer.
|
AwsElbv2LoadBalancerDetails |
withLoadBalancerAttributes(Collection<AwsElbv2LoadBalancerAttribute> loadBalancerAttributes)
Attributes of the load balancer.
|
AwsElbv2LoadBalancerDetails |
withScheme(String scheme)
The nodes of an Internet-facing load balancer have public IP addresses.
|
AwsElbv2LoadBalancerDetails |
withSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups for the load balancer.
|
AwsElbv2LoadBalancerDetails |
withSecurityGroups(String... securityGroups)
The IDs of the security groups for the load balancer.
|
AwsElbv2LoadBalancerDetails |
withState(LoadBalancerState state)
The state of the load balancer.
|
AwsElbv2LoadBalancerDetails |
withType(String type)
The type of load balancer.
|
AwsElbv2LoadBalancerDetails |
withVpcId(String vpcId)
The ID of the VPC for the load balancer.
|
public List<AvailabilityZone> getAvailabilityZones()
The Availability Zones for the load balancer.
public void setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones for the load balancer.
availabilityZones
- The Availability Zones for the load balancer.public AwsElbv2LoadBalancerDetails withAvailabilityZones(AvailabilityZone... availabilityZones)
The Availability Zones for the load balancer.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)
or withAvailabilityZones(java.util.Collection)
if
you want to override the existing values.
availabilityZones
- The Availability Zones for the load balancer.public AwsElbv2LoadBalancerDetails withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones for the load balancer.
availabilityZones
- The Availability Zones for the load balancer.public void setCanonicalHostedZoneId(String canonicalHostedZoneId)
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
canonicalHostedZoneId
- The ID of the Amazon Route 53 hosted zone associated with the load balancer.public String getCanonicalHostedZoneId()
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
public AwsElbv2LoadBalancerDetails withCanonicalHostedZoneId(String canonicalHostedZoneId)
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
canonicalHostedZoneId
- The ID of the Amazon Route 53 hosted zone associated with the load balancer.public void setCreatedTime(String createdTime)
Indicates when the load balancer was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
createdTime
- Indicates when the load balancer was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public String getCreatedTime()
Indicates when the load balancer was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public AwsElbv2LoadBalancerDetails withCreatedTime(String createdTime)
Indicates when the load balancer was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
createdTime
- Indicates when the load balancer was created.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public void setDNSName(String dNSName)
The public DNS name of the load balancer.
dNSName
- The public DNS name of the load balancer.public String getDNSName()
The public DNS name of the load balancer.
public AwsElbv2LoadBalancerDetails withDNSName(String dNSName)
The public DNS name of the load balancer.
dNSName
- The public DNS name of the load balancer.public void setIpAddressType(String ipAddressType)
The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
ipAddressType
- The type of IP addresses used by the subnets for your load balancer. The possible values are
ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).public String getIpAddressType()
The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).public AwsElbv2LoadBalancerDetails withIpAddressType(String ipAddressType)
The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
ipAddressType
- The type of IP addresses used by the subnets for your load balancer. The possible values are
ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).public void setScheme(String scheme)
The nodes of an Internet-facing load balancer have public IP addresses.
scheme
- The nodes of an Internet-facing load balancer have public IP addresses.public String getScheme()
The nodes of an Internet-facing load balancer have public IP addresses.
public AwsElbv2LoadBalancerDetails withScheme(String scheme)
The nodes of an Internet-facing load balancer have public IP addresses.
scheme
- The nodes of an Internet-facing load balancer have public IP addresses.public List<String> getSecurityGroups()
The IDs of the security groups for the load balancer.
public void setSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups for the load balancer.
securityGroups
- The IDs of the security groups for the load balancer.public AwsElbv2LoadBalancerDetails withSecurityGroups(String... securityGroups)
The IDs of the security groups for the load balancer.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- The IDs of the security groups for the load balancer.public AwsElbv2LoadBalancerDetails withSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups for the load balancer.
securityGroups
- The IDs of the security groups for the load balancer.public void setState(LoadBalancerState state)
The state of the load balancer.
state
- The state of the load balancer.public LoadBalancerState getState()
The state of the load balancer.
public AwsElbv2LoadBalancerDetails withState(LoadBalancerState state)
The state of the load balancer.
state
- The state of the load balancer.public void setType(String type)
The type of load balancer.
type
- The type of load balancer.public String getType()
The type of load balancer.
public AwsElbv2LoadBalancerDetails withType(String type)
The type of load balancer.
type
- The type of load balancer.public void setVpcId(String vpcId)
The ID of the VPC for the load balancer.
vpcId
- The ID of the VPC for the load balancer.public String getVpcId()
The ID of the VPC for the load balancer.
public AwsElbv2LoadBalancerDetails withVpcId(String vpcId)
The ID of the VPC for the load balancer.
vpcId
- The ID of the VPC for the load balancer.public List<AwsElbv2LoadBalancerAttribute> getLoadBalancerAttributes()
Attributes of the load balancer.
public void setLoadBalancerAttributes(Collection<AwsElbv2LoadBalancerAttribute> loadBalancerAttributes)
Attributes of the load balancer.
loadBalancerAttributes
- Attributes of the load balancer.public AwsElbv2LoadBalancerDetails withLoadBalancerAttributes(AwsElbv2LoadBalancerAttribute... loadBalancerAttributes)
Attributes of the load balancer.
NOTE: This method appends the values to the existing list (if any). Use
setLoadBalancerAttributes(java.util.Collection)
or
withLoadBalancerAttributes(java.util.Collection)
if you want to override the existing values.
loadBalancerAttributes
- Attributes of the load balancer.public AwsElbv2LoadBalancerDetails withLoadBalancerAttributes(Collection<AwsElbv2LoadBalancerAttribute> loadBalancerAttributes)
Attributes of the load balancer.
loadBalancerAttributes
- Attributes of the load balancer.public String toString()
toString
in class Object
Object.toString()
public AwsElbv2LoadBalancerDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.