@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Cipher extends Object implements Serializable, Cloneable
Information about a cipher used in a policy.
Constructor and Description |
---|
Cipher() |
Modifier and Type | Method and Description |
---|---|
Cipher |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the cipher.
|
Integer |
getPriority()
The priority of the cipher.
|
int |
hashCode() |
void |
setName(String name)
The name of the cipher.
|
void |
setPriority(Integer priority)
The priority of the cipher.
|
String |
toString()
Returns a string representation of this object.
|
Cipher |
withName(String name)
The name of the cipher.
|
Cipher |
withPriority(Integer priority)
The priority of the cipher.
|
public void setName(String name)
The name of the cipher.
name
- The name of the cipher.public String getName()
The name of the cipher.
public Cipher withName(String name)
The name of the cipher.
name
- The name of the cipher.public void setPriority(Integer priority)
The priority of the cipher.
priority
- The priority of the cipher.public Integer getPriority()
The priority of the cipher.
public Cipher withPriority(Integer priority)
The priority of the cipher.
priority
- The priority of the cipher.public String toString()
toString
in class Object
Object.toString()