@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrivateKeyFlagsV2 extends Object implements Serializable, Cloneable, StructuredPojo
Private key flags for v2 templates specify the client compatibility, if the private key can be exported, and if user input is required when using a private key.
Constructor and Description |
---|
PrivateKeyFlagsV2() |
Modifier and Type | Method and Description |
---|---|
PrivateKeyFlagsV2 |
clone() |
boolean |
equals(Object obj) |
String |
getClientVersion()
Defines the minimum client compatibility.
|
Boolean |
getExportableKey()
Allows the private key to be exported.
|
Boolean |
getStrongKeyProtectionRequired()
Require user input when using the private key for enrollment.
|
int |
hashCode() |
Boolean |
isExportableKey()
Allows the private key to be exported.
|
Boolean |
isStrongKeyProtectionRequired()
Require user input when using the private key for enrollment.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientVersion(String clientVersion)
Defines the minimum client compatibility.
|
void |
setExportableKey(Boolean exportableKey)
Allows the private key to be exported.
|
void |
setStrongKeyProtectionRequired(Boolean strongKeyProtectionRequired)
Require user input when using the private key for enrollment.
|
String |
toString()
Returns a string representation of this object.
|
PrivateKeyFlagsV2 |
withClientVersion(ClientCompatibilityV2 clientVersion)
Defines the minimum client compatibility.
|
PrivateKeyFlagsV2 |
withClientVersion(String clientVersion)
Defines the minimum client compatibility.
|
PrivateKeyFlagsV2 |
withExportableKey(Boolean exportableKey)
Allows the private key to be exported.
|
PrivateKeyFlagsV2 |
withStrongKeyProtectionRequired(Boolean strongKeyProtectionRequired)
Require user input when using the private key for enrollment.
|
public void setClientVersion(String clientVersion)
Defines the minimum client compatibility.
clientVersion
- Defines the minimum client compatibility.ClientCompatibilityV2
public String getClientVersion()
Defines the minimum client compatibility.
ClientCompatibilityV2
public PrivateKeyFlagsV2 withClientVersion(String clientVersion)
Defines the minimum client compatibility.
clientVersion
- Defines the minimum client compatibility.ClientCompatibilityV2
public PrivateKeyFlagsV2 withClientVersion(ClientCompatibilityV2 clientVersion)
Defines the minimum client compatibility.
clientVersion
- Defines the minimum client compatibility.ClientCompatibilityV2
public void setExportableKey(Boolean exportableKey)
Allows the private key to be exported.
exportableKey
- Allows the private key to be exported.public Boolean getExportableKey()
Allows the private key to be exported.
public PrivateKeyFlagsV2 withExportableKey(Boolean exportableKey)
Allows the private key to be exported.
exportableKey
- Allows the private key to be exported.public Boolean isExportableKey()
Allows the private key to be exported.
public void setStrongKeyProtectionRequired(Boolean strongKeyProtectionRequired)
Require user input when using the private key for enrollment.
strongKeyProtectionRequired
- Require user input when using the private key for enrollment.public Boolean getStrongKeyProtectionRequired()
Require user input when using the private key for enrollment.
public PrivateKeyFlagsV2 withStrongKeyProtectionRequired(Boolean strongKeyProtectionRequired)
Require user input when using the private key for enrollment.
strongKeyProtectionRequired
- Require user input when using the private key for enrollment.public Boolean isStrongKeyProtectionRequired()
Require user input when using the private key for enrollment.
public String toString()
toString
in class Object
Object.toString()
public PrivateKeyFlagsV2 clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.