@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicyRuleAction extends Object implements Serializable, Cloneable, StructuredPojo
The type of action to be taken.
Constructor and Description |
---|
LifecyclePolicyRuleAction() |
Modifier and Type | Method and Description |
---|---|
LifecyclePolicyRuleAction |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The type of action to be taken.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
The type of action to be taken.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
LifecyclePolicyRuleAction |
withType(ImageActionType type)
The type of action to be taken.
|
LifecyclePolicyRuleAction |
withType(String type)
The type of action to be taken.
|
public void setType(String type)
The type of action to be taken.
type
- The type of action to be taken.ImageActionType
public String getType()
The type of action to be taken.
ImageActionType
public LifecyclePolicyRuleAction withType(String type)
The type of action to be taken.
type
- The type of action to be taken.ImageActionType
public LifecyclePolicyRuleAction withType(ImageActionType type)
The type of action to be taken.
type
- The type of action to be taken.ImageActionType
public String toString()
toString
in class Object
Object.toString()
public LifecyclePolicyRuleAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.