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