@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplateRevision extends Object implements Serializable, Cloneable, StructuredPojo
The revision version of the template. Template updates will increment the minor revision. Re-enrolling all certificate holders will increment the major revision.
Constructor and Description |
---|
TemplateRevision() |
Modifier and Type | Method and Description |
---|---|
TemplateRevision |
clone() |
boolean |
equals(Object obj) |
Integer |
getMajorRevision()
The revision version of the template.
|
Integer |
getMinorRevision()
The revision version of the template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMajorRevision(Integer majorRevision)
The revision version of the template.
|
void |
setMinorRevision(Integer minorRevision)
The revision version of the template.
|
String |
toString()
Returns a string representation of this object.
|
TemplateRevision |
withMajorRevision(Integer majorRevision)
The revision version of the template.
|
TemplateRevision |
withMinorRevision(Integer minorRevision)
The revision version of the template.
|
public void setMajorRevision(Integer majorRevision)
The revision version of the template. Re-enrolling all certificate holders will increment the major revision.
majorRevision
- The revision version of the template. Re-enrolling all certificate holders will increment the major
revision.public Integer getMajorRevision()
The revision version of the template. Re-enrolling all certificate holders will increment the major revision.
public TemplateRevision withMajorRevision(Integer majorRevision)
The revision version of the template. Re-enrolling all certificate holders will increment the major revision.
majorRevision
- The revision version of the template. Re-enrolling all certificate holders will increment the major
revision.public void setMinorRevision(Integer minorRevision)
The revision version of the template. Re-enrolling all certificate holders will increment the major revision.
minorRevision
- The revision version of the template. Re-enrolling all certificate holders will increment the major
revision.public Integer getMinorRevision()
The revision version of the template. Re-enrolling all certificate holders will increment the major revision.
public TemplateRevision withMinorRevision(Integer minorRevision)
The revision version of the template. Re-enrolling all certificate holders will increment the major revision.
minorRevision
- The revision version of the template. Re-enrolling all certificate holders will increment the major
revision.public String toString()
toString
in class Object
Object.toString()
public TemplateRevision clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.