@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElbv2LoadBalancerAttribute extends Object implements Serializable, Cloneable, StructuredPojo
A load balancer attribute.
| Constructor and Description |
|---|
AwsElbv2LoadBalancerAttribute() |
| Modifier and Type | Method and Description |
|---|---|
AwsElbv2LoadBalancerAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The name of the load balancer attribute.
|
String |
getValue()
The value of the load balancer attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKey(String key)
The name of the load balancer attribute.
|
void |
setValue(String value)
The value of the load balancer attribute.
|
String |
toString()
Returns a string representation of this object.
|
AwsElbv2LoadBalancerAttribute |
withKey(String key)
The name of the load balancer attribute.
|
AwsElbv2LoadBalancerAttribute |
withValue(String value)
The value of the load balancer attribute.
|
public void setKey(String key)
The name of the load balancer attribute.
key - The name of the load balancer attribute.public String getKey()
The name of the load balancer attribute.
public AwsElbv2LoadBalancerAttribute withKey(String key)
The name of the load balancer attribute.
key - The name of the load balancer attribute.public void setValue(String value)
The value of the load balancer attribute.
value - The value of the load balancer attribute.public String getValue()
The value of the load balancer attribute.
public AwsElbv2LoadBalancerAttribute withValue(String value)
The value of the load balancer attribute.
value - The value of the load balancer attribute.public String toString()
toString in class ObjectObject.toString()public AwsElbv2LoadBalancerAttribute clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.