@Generated(value="software.amazon.awssdk:codegen") public final class ApplicationPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApplicationPolicy.Builder,ApplicationPolicy>
Application policies describe what the certificate can be used for.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ApplicationPolicy.Builder |
static class |
ApplicationPolicy.Type |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationPolicy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static ApplicationPolicy |
fromPolicyObjectIdentifier(String policyObjectIdentifier)
Create an instance of this class with
policyObjectIdentifier() initialized to the given value. |
static ApplicationPolicy |
fromPolicyType(ApplicationPolicyType policyType)
Create an instance of this class with
policyTypeAsString() initialized to the given value. |
static ApplicationPolicy |
fromPolicyType(String policyType)
Create an instance of this class with
policyTypeAsString() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policyObjectIdentifier()
The object identifier (OID) of an application policy.
|
ApplicationPolicyType |
policyType()
The type of application policy
|
String |
policyTypeAsString()
The type of application policy
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ApplicationPolicy.Builder> |
serializableBuilderClass() |
ApplicationPolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ApplicationPolicy.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String policyObjectIdentifier()
The object identifier (OID) of an application policy.
public final ApplicationPolicyType policyType()
The type of application policy
If the service returns an enum value that is not available in the current SDK version, policyType will
return ApplicationPolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from policyTypeAsString().
ApplicationPolicyTypepublic final String policyTypeAsString()
The type of application policy
If the service returns an enum value that is not available in the current SDK version, policyType will
return ApplicationPolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from policyTypeAsString().
ApplicationPolicyTypepublic ApplicationPolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ApplicationPolicy.Builder,ApplicationPolicy>public static ApplicationPolicy.Builder builder()
public static Class<? extends ApplicationPolicy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static ApplicationPolicy fromPolicyObjectIdentifier(String policyObjectIdentifier)
policyObjectIdentifier() initialized to the given value.
The object identifier (OID) of an application policy.
policyObjectIdentifier - The object identifier (OID) of an application policy.public static ApplicationPolicy fromPolicyType(String policyType)
policyTypeAsString() initialized to the given value.
The type of application policy
policyType - The type of application policyApplicationPolicyTypepublic static ApplicationPolicy fromPolicyType(ApplicationPolicyType policyType)
policyTypeAsString() initialized to the given value.
The type of application policy
policyType - The type of application policyApplicationPolicyTypepublic ApplicationPolicy.Type type()
ApplicationPolicy.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be ApplicationPolicy.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.