@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KeyUsageProperty extends Object implements Serializable, Cloneable, StructuredPojo
The key usage property defines the purpose of the private key contained in the certificate. You can specify specific purposes using property flags or all by using property type ALL.
Constructor and Description |
---|
KeyUsageProperty() |
Modifier and Type | Method and Description |
---|---|
KeyUsageProperty |
clone() |
boolean |
equals(Object obj) |
KeyUsagePropertyFlags |
getPropertyFlags()
You can specify key usage for encryption, key agreement, and signature.
|
String |
getPropertyType()
You can specify all key usages using property type ALL.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPropertyFlags(KeyUsagePropertyFlags propertyFlags)
You can specify key usage for encryption, key agreement, and signature.
|
void |
setPropertyType(String propertyType)
You can specify all key usages using property type ALL.
|
String |
toString()
Returns a string representation of this object.
|
KeyUsageProperty |
withPropertyFlags(KeyUsagePropertyFlags propertyFlags)
You can specify key usage for encryption, key agreement, and signature.
|
KeyUsageProperty |
withPropertyType(KeyUsagePropertyType propertyType)
You can specify all key usages using property type ALL.
|
KeyUsageProperty |
withPropertyType(String propertyType)
You can specify all key usages using property type ALL.
|
public void setPropertyFlags(KeyUsagePropertyFlags propertyFlags)
You can specify key usage for encryption, key agreement, and signature. You can use property flags or property type but not both.
propertyFlags
- You can specify key usage for encryption, key agreement, and signature. You can use property flags or
property type but not both.public KeyUsagePropertyFlags getPropertyFlags()
You can specify key usage for encryption, key agreement, and signature. You can use property flags or property type but not both.
public KeyUsageProperty withPropertyFlags(KeyUsagePropertyFlags propertyFlags)
You can specify key usage for encryption, key agreement, and signature. You can use property flags or property type but not both.
propertyFlags
- You can specify key usage for encryption, key agreement, and signature. You can use property flags or
property type but not both.public void setPropertyType(String propertyType)
You can specify all key usages using property type ALL. You can use property type or property flags but not both.
propertyType
- You can specify all key usages using property type ALL. You can use property type or property flags but
not both.KeyUsagePropertyType
public String getPropertyType()
You can specify all key usages using property type ALL. You can use property type or property flags but not both.
KeyUsagePropertyType
public KeyUsageProperty withPropertyType(String propertyType)
You can specify all key usages using property type ALL. You can use property type or property flags but not both.
propertyType
- You can specify all key usages using property type ALL. You can use property type or property flags but
not both.KeyUsagePropertyType
public KeyUsageProperty withPropertyType(KeyUsagePropertyType propertyType)
You can specify all key usages using property type ALL. You can use property type or property flags but not both.
propertyType
- You can specify all key usages using property type ALL. You can use property type or property flags but
not both.KeyUsagePropertyType
public String toString()
toString
in class Object
Object.toString()
public KeyUsageProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.