@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GeneralFlagsV2 extends Object implements Serializable, Cloneable, StructuredPojo
General flags for v2 template schema that defines if the template is for a machine or a user and if the template can be issued using autoenrollment.
Constructor and Description |
---|
GeneralFlagsV2() |
Modifier and Type | Method and Description |
---|---|
GeneralFlagsV2 |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAutoEnrollment()
Allows certificate issuance using autoenrollment.
|
Boolean |
getMachineType()
Defines if the template is for machines or users.
|
int |
hashCode() |
Boolean |
isAutoEnrollment()
Allows certificate issuance using autoenrollment.
|
Boolean |
isMachineType()
Defines if the template is for machines or users.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoEnrollment(Boolean autoEnrollment)
Allows certificate issuance using autoenrollment.
|
void |
setMachineType(Boolean machineType)
Defines if the template is for machines or users.
|
String |
toString()
Returns a string representation of this object.
|
GeneralFlagsV2 |
withAutoEnrollment(Boolean autoEnrollment)
Allows certificate issuance using autoenrollment.
|
GeneralFlagsV2 |
withMachineType(Boolean machineType)
Defines if the template is for machines or users.
|
public void setAutoEnrollment(Boolean autoEnrollment)
Allows certificate issuance using autoenrollment. Set to TRUE to allow autoenrollment.
autoEnrollment
- Allows certificate issuance using autoenrollment. Set to TRUE to allow autoenrollment.public Boolean getAutoEnrollment()
Allows certificate issuance using autoenrollment. Set to TRUE to allow autoenrollment.
public GeneralFlagsV2 withAutoEnrollment(Boolean autoEnrollment)
Allows certificate issuance using autoenrollment. Set to TRUE to allow autoenrollment.
autoEnrollment
- Allows certificate issuance using autoenrollment. Set to TRUE to allow autoenrollment.public Boolean isAutoEnrollment()
Allows certificate issuance using autoenrollment. Set to TRUE to allow autoenrollment.
public void setMachineType(Boolean machineType)
Defines if the template is for machines or users. Set to TRUE if the template is for machines. Set to FALSE if the template is for users.
machineType
- Defines if the template is for machines or users. Set to TRUE if the template is for machines. Set to
FALSE if the template is for users.public Boolean getMachineType()
Defines if the template is for machines or users. Set to TRUE if the template is for machines. Set to FALSE if the template is for users.
public GeneralFlagsV2 withMachineType(Boolean machineType)
Defines if the template is for machines or users. Set to TRUE if the template is for machines. Set to FALSE if the template is for users.
machineType
- Defines if the template is for machines or users. Set to TRUE if the template is for machines. Set to
FALSE if the template is for users.public Boolean isMachineType()
Defines if the template is for machines or users. Set to TRUE if the template is for machines. Set to FALSE if the template is for users.
public String toString()
toString
in class Object
Object.toString()
public GeneralFlagsV2 clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.