@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElbLoadBalancerAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Contains attributes for the load balancer.
Constructor and Description |
---|
AwsElbLoadBalancerAttributes() |
Modifier and Type | Method and Description |
---|---|
AwsElbLoadBalancerAttributes |
clone() |
boolean |
equals(Object obj) |
AwsElbLoadBalancerAccessLog |
getAccessLog()
Information about the access log configuration for the load balancer.
|
AwsElbLoadBalancerConnectionDraining |
getConnectionDraining()
Information about the connection draining configuration for the load balancer.
|
AwsElbLoadBalancerConnectionSettings |
getConnectionSettings()
Connection settings for the load balancer.
|
AwsElbLoadBalancerCrossZoneLoadBalancing |
getCrossZoneLoadBalancing()
Cross-zone load balancing settings for the load balancer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessLog(AwsElbLoadBalancerAccessLog accessLog)
Information about the access log configuration for the load balancer.
|
void |
setConnectionDraining(AwsElbLoadBalancerConnectionDraining connectionDraining)
Information about the connection draining configuration for the load balancer.
|
void |
setConnectionSettings(AwsElbLoadBalancerConnectionSettings connectionSettings)
Connection settings for the load balancer.
|
void |
setCrossZoneLoadBalancing(AwsElbLoadBalancerCrossZoneLoadBalancing crossZoneLoadBalancing)
Cross-zone load balancing settings for the load balancer.
|
String |
toString()
Returns a string representation of this object.
|
AwsElbLoadBalancerAttributes |
withAccessLog(AwsElbLoadBalancerAccessLog accessLog)
Information about the access log configuration for the load balancer.
|
AwsElbLoadBalancerAttributes |
withConnectionDraining(AwsElbLoadBalancerConnectionDraining connectionDraining)
Information about the connection draining configuration for the load balancer.
|
AwsElbLoadBalancerAttributes |
withConnectionSettings(AwsElbLoadBalancerConnectionSettings connectionSettings)
Connection settings for the load balancer.
|
AwsElbLoadBalancerAttributes |
withCrossZoneLoadBalancing(AwsElbLoadBalancerCrossZoneLoadBalancing crossZoneLoadBalancing)
Cross-zone load balancing settings for the load balancer.
|
public void setAccessLog(AwsElbLoadBalancerAccessLog accessLog)
Information about the access log configuration for the load balancer.
If the access log is enabled, the load balancer captures detailed information about all requests. It delivers the information to a specified S3 bucket.
accessLog
- Information about the access log configuration for the load balancer.
If the access log is enabled, the load balancer captures detailed information about all requests. It delivers the information to a specified S3 bucket.
public AwsElbLoadBalancerAccessLog getAccessLog()
Information about the access log configuration for the load balancer.
If the access log is enabled, the load balancer captures detailed information about all requests. It delivers the information to a specified S3 bucket.
If the access log is enabled, the load balancer captures detailed information about all requests. It delivers the information to a specified S3 bucket.
public AwsElbLoadBalancerAttributes withAccessLog(AwsElbLoadBalancerAccessLog accessLog)
Information about the access log configuration for the load balancer.
If the access log is enabled, the load balancer captures detailed information about all requests. It delivers the information to a specified S3 bucket.
accessLog
- Information about the access log configuration for the load balancer.
If the access log is enabled, the load balancer captures detailed information about all requests. It delivers the information to a specified S3 bucket.
public void setConnectionDraining(AwsElbLoadBalancerConnectionDraining connectionDraining)
Information about the connection draining configuration for the load balancer.
If connection draining is enabled, the load balancer allows existing requests to complete before it shifts traffic away from a deregistered or unhealthy instance.
connectionDraining
- Information about the connection draining configuration for the load balancer.
If connection draining is enabled, the load balancer allows existing requests to complete before it shifts traffic away from a deregistered or unhealthy instance.
public AwsElbLoadBalancerConnectionDraining getConnectionDraining()
Information about the connection draining configuration for the load balancer.
If connection draining is enabled, the load balancer allows existing requests to complete before it shifts traffic away from a deregistered or unhealthy instance.
If connection draining is enabled, the load balancer allows existing requests to complete before it shifts traffic away from a deregistered or unhealthy instance.
public AwsElbLoadBalancerAttributes withConnectionDraining(AwsElbLoadBalancerConnectionDraining connectionDraining)
Information about the connection draining configuration for the load balancer.
If connection draining is enabled, the load balancer allows existing requests to complete before it shifts traffic away from a deregistered or unhealthy instance.
connectionDraining
- Information about the connection draining configuration for the load balancer.
If connection draining is enabled, the load balancer allows existing requests to complete before it shifts traffic away from a deregistered or unhealthy instance.
public void setConnectionSettings(AwsElbLoadBalancerConnectionSettings connectionSettings)
Connection settings for the load balancer.
If an idle timeout is configured, the load balancer allows connections to remain idle for the specified duration. When a connection is idle, no data is sent over the connection.
connectionSettings
- Connection settings for the load balancer.
If an idle timeout is configured, the load balancer allows connections to remain idle for the specified duration. When a connection is idle, no data is sent over the connection.
public AwsElbLoadBalancerConnectionSettings getConnectionSettings()
Connection settings for the load balancer.
If an idle timeout is configured, the load balancer allows connections to remain idle for the specified duration. When a connection is idle, no data is sent over the connection.
If an idle timeout is configured, the load balancer allows connections to remain idle for the specified duration. When a connection is idle, no data is sent over the connection.
public AwsElbLoadBalancerAttributes withConnectionSettings(AwsElbLoadBalancerConnectionSettings connectionSettings)
Connection settings for the load balancer.
If an idle timeout is configured, the load balancer allows connections to remain idle for the specified duration. When a connection is idle, no data is sent over the connection.
connectionSettings
- Connection settings for the load balancer.
If an idle timeout is configured, the load balancer allows connections to remain idle for the specified duration. When a connection is idle, no data is sent over the connection.
public void setCrossZoneLoadBalancing(AwsElbLoadBalancerCrossZoneLoadBalancing crossZoneLoadBalancing)
Cross-zone load balancing settings for the load balancer.
If cross-zone load balancing is enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
crossZoneLoadBalancing
- Cross-zone load balancing settings for the load balancer.
If cross-zone load balancing is enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
public AwsElbLoadBalancerCrossZoneLoadBalancing getCrossZoneLoadBalancing()
Cross-zone load balancing settings for the load balancer.
If cross-zone load balancing is enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
If cross-zone load balancing is enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
public AwsElbLoadBalancerAttributes withCrossZoneLoadBalancing(AwsElbLoadBalancerCrossZoneLoadBalancing crossZoneLoadBalancing)
Cross-zone load balancing settings for the load balancer.
If cross-zone load balancing is enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
crossZoneLoadBalancing
- Cross-zone load balancing settings for the load balancer.
If cross-zone load balancing is enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
public String toString()
toString
in class Object
Object.toString()
public AwsElbLoadBalancerAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.