Class PrivateKeyFlagsV2
- java.lang.Object
-
- software.amazon.awssdk.services.pcaconnectorad.model.PrivateKeyFlagsV2
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PrivateKeyFlagsV2.Builder,PrivateKeyFlagsV2>
@Generated("software.amazon.awssdk:codegen") public final class PrivateKeyFlagsV2 extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PrivateKeyFlagsV2.Builder,PrivateKeyFlagsV2>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePrivateKeyFlagsV2.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrivateKeyFlagsV2.Builderbuilder()ClientCompatibilityV2clientVersion()Defines the minimum client compatibility.StringclientVersionAsString()Defines the minimum client compatibility.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanexportableKey()Allows the private key to be exported.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends PrivateKeyFlagsV2.Builder>serializableBuilderClass()BooleanstrongKeyProtectionRequired()Require user input when using the private key for enrollment.PrivateKeyFlagsV2.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clientVersion
public final ClientCompatibilityV2 clientVersion()
Defines the minimum client compatibility.
If the service returns an enum value that is not available in the current SDK version,
clientVersionwill returnClientCompatibilityV2.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclientVersionAsString().- Returns:
- Defines the minimum client compatibility.
- See Also:
ClientCompatibilityV2
-
clientVersionAsString
public final String clientVersionAsString()
Defines the minimum client compatibility.
If the service returns an enum value that is not available in the current SDK version,
clientVersionwill returnClientCompatibilityV2.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclientVersionAsString().- Returns:
- Defines the minimum client compatibility.
- See Also:
ClientCompatibilityV2
-
exportableKey
public final Boolean exportableKey()
Allows the private key to be exported.
- Returns:
- Allows the private key to be exported.
-
strongKeyProtectionRequired
public final Boolean strongKeyProtectionRequired()
Require user input when using the private key for enrollment.
- Returns:
- Require user input when using the private key for enrollment.
-
toBuilder
public PrivateKeyFlagsV2.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PrivateKeyFlagsV2.Builder,PrivateKeyFlagsV2>
-
builder
public static PrivateKeyFlagsV2.Builder builder()
-
serializableBuilderClass
public static Class<? extends PrivateKeyFlagsV2.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-