@Generated(value="software.amazon.awssdk:codegen") public final class CoreNetworkPolicyVersion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CoreNetworkPolicyVersion.Builder,CoreNetworkPolicyVersion>
Describes a core network policy version.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CoreNetworkPolicyVersion.Builder |
| Modifier and Type | Method and Description |
|---|---|
CoreNetworkPolicyAlias |
alias()
Whether a core network policy is the current policy or the most recently submitted policy.
|
String |
aliasAsString()
Whether a core network policy is the current policy or the most recently submitted policy.
|
static CoreNetworkPolicyVersion.Builder |
builder() |
ChangeSetState |
changeSetState()
The status of the policy version change set.
|
String |
changeSetStateAsString()
The status of the policy version change set.
|
String |
coreNetworkId()
The ID of a core network.
|
Instant |
createdAt()
The timestamp when a core network policy version was created.
|
String |
description()
The description of a core network policy version.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
policyVersionId()
The ID of the policy version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CoreNetworkPolicyVersion.Builder> |
serializableBuilderClass() |
CoreNetworkPolicyVersion.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String coreNetworkId()
The ID of a core network.
public final Integer policyVersionId()
The ID of the policy version.
public final CoreNetworkPolicyAlias alias()
Whether a core network policy is the current policy or the most recently submitted policy.
If the service returns an enum value that is not available in the current SDK version, alias will return
CoreNetworkPolicyAlias.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
aliasAsString().
CoreNetworkPolicyAliaspublic final String aliasAsString()
Whether a core network policy is the current policy or the most recently submitted policy.
If the service returns an enum value that is not available in the current SDK version, alias will return
CoreNetworkPolicyAlias.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
aliasAsString().
CoreNetworkPolicyAliaspublic final String description()
The description of a core network policy version.
public final Instant createdAt()
The timestamp when a core network policy version was created.
public final ChangeSetState changeSetState()
The status of the policy version change set.
If the service returns an enum value that is not available in the current SDK version, changeSetState
will return ChangeSetState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from changeSetStateAsString().
ChangeSetStatepublic final String changeSetStateAsString()
The status of the policy version change set.
If the service returns an enum value that is not available in the current SDK version, changeSetState
will return ChangeSetState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from changeSetStateAsString().
ChangeSetStatepublic CoreNetworkPolicyVersion.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CoreNetworkPolicyVersion.Builder,CoreNetworkPolicyVersion>public static CoreNetworkPolicyVersion.Builder builder()
public static Class<? extends CoreNetworkPolicyVersion.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.