Class CoreNetworkPolicyVersion
- java.lang.Object
-
- software.amazon.awssdk.services.networkmanager.model.CoreNetworkPolicyVersion
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CoreNetworkPolicyVersion.Builder,CoreNetworkPolicyVersion>
@Generated("software.amazon.awssdk:codegen") public final class CoreNetworkPolicyVersion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CoreNetworkPolicyVersion.Builder,CoreNetworkPolicyVersion>
Describes a core network policy version.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCoreNetworkPolicyVersion.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CoreNetworkPolicyAliasalias()Whether a core network policy is the current policy or the most recently submitted policy.StringaliasAsString()Whether a core network policy is the current policy or the most recently submitted policy.static CoreNetworkPolicyVersion.Builderbuilder()ChangeSetStatechangeSetState()The status of the policy version change set.StringchangeSetStateAsString()The status of the policy version change set.StringcoreNetworkId()The ID of a core network.InstantcreatedAt()The timestamp when a core network policy version was created.Stringdescription()The description of a core network policy version.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerpolicyVersionId()The ID of the policy version.List<SdkField<?>>sdkFields()static Class<? extends CoreNetworkPolicyVersion.Builder>serializableBuilderClass()CoreNetworkPolicyVersion.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
-
coreNetworkId
public final String coreNetworkId()
The ID of a core network.
- Returns:
- The ID of a core network.
-
policyVersionId
public final Integer policyVersionId()
The ID of the policy version.
- Returns:
- The ID of the policy version.
-
alias
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,
aliaswill returnCoreNetworkPolicyAlias.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaliasAsString().- Returns:
- Whether a core network policy is the current policy or the most recently submitted policy.
- See Also:
CoreNetworkPolicyAlias
-
aliasAsString
public 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,
aliaswill returnCoreNetworkPolicyAlias.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaliasAsString().- Returns:
- Whether a core network policy is the current policy or the most recently submitted policy.
- See Also:
CoreNetworkPolicyAlias
-
description
public final String description()
The description of a core network policy version.
- Returns:
- The description of a core network policy version.
-
createdAt
public final Instant createdAt()
The timestamp when a core network policy version was created.
- Returns:
- The timestamp when a core network policy version was created.
-
changeSetState
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,
changeSetStatewill returnChangeSetState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchangeSetStateAsString().- Returns:
- The status of the policy version change set.
- See Also:
ChangeSetState
-
changeSetStateAsString
public 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,
changeSetStatewill returnChangeSetState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchangeSetStateAsString().- Returns:
- The status of the policy version change set.
- See Also:
ChangeSetState
-
toBuilder
public CoreNetworkPolicyVersion.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CoreNetworkPolicyVersion.Builder,CoreNetworkPolicyVersion>
-
builder
public static CoreNetworkPolicyVersion.Builder builder()
-
serializableBuilderClass
public static Class<? extends CoreNetworkPolicyVersion.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.
-
-