@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CoreNetworkPolicyVersion extends Object implements Serializable, Cloneable, StructuredPojo
Describes a core network policy version.
Constructor and Description |
---|
CoreNetworkPolicyVersion() |
Modifier and Type | Method and Description |
---|---|
CoreNetworkPolicyVersion |
clone() |
boolean |
equals(Object obj) |
String |
getAlias()
Whether a core network policy is the current policy or the most recently submitted policy.
|
String |
getChangeSetState()
The status of the policy version change set.
|
String |
getCoreNetworkId()
The ID of a core network.
|
Date |
getCreatedAt()
The timestamp when a core network policy version was created.
|
String |
getDescription()
The description of a core network policy version.
|
Integer |
getPolicyVersionId()
The ID of the policy version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlias(String alias)
Whether a core network policy is the current policy or the most recently submitted policy.
|
void |
setChangeSetState(String changeSetState)
The status of the policy version change set.
|
void |
setCoreNetworkId(String coreNetworkId)
The ID of a core network.
|
void |
setCreatedAt(Date createdAt)
The timestamp when a core network policy version was created.
|
void |
setDescription(String description)
The description of a core network policy version.
|
void |
setPolicyVersionId(Integer policyVersionId)
The ID of the policy version.
|
String |
toString()
Returns a string representation of this object.
|
CoreNetworkPolicyVersion |
withAlias(CoreNetworkPolicyAlias alias)
Whether a core network policy is the current policy or the most recently submitted policy.
|
CoreNetworkPolicyVersion |
withAlias(String alias)
Whether a core network policy is the current policy or the most recently submitted policy.
|
CoreNetworkPolicyVersion |
withChangeSetState(ChangeSetState changeSetState)
The status of the policy version change set.
|
CoreNetworkPolicyVersion |
withChangeSetState(String changeSetState)
The status of the policy version change set.
|
CoreNetworkPolicyVersion |
withCoreNetworkId(String coreNetworkId)
The ID of a core network.
|
CoreNetworkPolicyVersion |
withCreatedAt(Date createdAt)
The timestamp when a core network policy version was created.
|
CoreNetworkPolicyVersion |
withDescription(String description)
The description of a core network policy version.
|
CoreNetworkPolicyVersion |
withPolicyVersionId(Integer policyVersionId)
The ID of the policy version.
|
public void setCoreNetworkId(String coreNetworkId)
The ID of a core network.
coreNetworkId
- The ID of a core network.public String getCoreNetworkId()
The ID of a core network.
public CoreNetworkPolicyVersion withCoreNetworkId(String coreNetworkId)
The ID of a core network.
coreNetworkId
- The ID of a core network.public void setPolicyVersionId(Integer policyVersionId)
The ID of the policy version.
policyVersionId
- The ID of the policy version.public Integer getPolicyVersionId()
The ID of the policy version.
public CoreNetworkPolicyVersion withPolicyVersionId(Integer policyVersionId)
The ID of the policy version.
policyVersionId
- The ID of the policy version.public void setAlias(String alias)
Whether a core network policy is the current policy or the most recently submitted policy.
alias
- Whether a core network policy is the current policy or the most recently submitted policy.CoreNetworkPolicyAlias
public String getAlias()
Whether a core network policy is the current policy or the most recently submitted policy.
CoreNetworkPolicyAlias
public CoreNetworkPolicyVersion withAlias(String alias)
Whether a core network policy is the current policy or the most recently submitted policy.
alias
- Whether a core network policy is the current policy or the most recently submitted policy.CoreNetworkPolicyAlias
public CoreNetworkPolicyVersion withAlias(CoreNetworkPolicyAlias alias)
Whether a core network policy is the current policy or the most recently submitted policy.
alias
- Whether a core network policy is the current policy or the most recently submitted policy.CoreNetworkPolicyAlias
public void setDescription(String description)
The description of a core network policy version.
description
- The description of a core network policy version.public String getDescription()
The description of a core network policy version.
public CoreNetworkPolicyVersion withDescription(String description)
The description of a core network policy version.
description
- The description of a core network policy version.public void setCreatedAt(Date createdAt)
The timestamp when a core network policy version was created.
createdAt
- The timestamp when a core network policy version was created.public Date getCreatedAt()
The timestamp when a core network policy version was created.
public CoreNetworkPolicyVersion withCreatedAt(Date createdAt)
The timestamp when a core network policy version was created.
createdAt
- The timestamp when a core network policy version was created.public void setChangeSetState(String changeSetState)
The status of the policy version change set.
changeSetState
- The status of the policy version change set.ChangeSetState
public String getChangeSetState()
The status of the policy version change set.
ChangeSetState
public CoreNetworkPolicyVersion withChangeSetState(String changeSetState)
The status of the policy version change set.
changeSetState
- The status of the policy version change set.ChangeSetState
public CoreNetworkPolicyVersion withChangeSetState(ChangeSetState changeSetState)
The status of the policy version change set.
changeSetState
- The status of the policy version change set.ChangeSetState
public String toString()
toString
in class Object
Object.toString()
public CoreNetworkPolicyVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.