@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreCoreNetworkPolicyVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RestoreCoreNetworkPolicyVersionRequest() |
Modifier and Type | Method and Description |
---|---|
RestoreCoreNetworkPolicyVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCoreNetworkId()
The ID of a core network.
|
Integer |
getPolicyVersionId()
The ID of the policy version to restore.
|
int |
hashCode() |
void |
setCoreNetworkId(String coreNetworkId)
The ID of a core network.
|
void |
setPolicyVersionId(Integer policyVersionId)
The ID of the policy version to restore.
|
String |
toString()
Returns a string representation of this object.
|
RestoreCoreNetworkPolicyVersionRequest |
withCoreNetworkId(String coreNetworkId)
The ID of a core network.
|
RestoreCoreNetworkPolicyVersionRequest |
withPolicyVersionId(Integer policyVersionId)
The ID of the policy version to restore.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public RestoreCoreNetworkPolicyVersionRequest()
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 RestoreCoreNetworkPolicyVersionRequest 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 to restore.
policyVersionId
- The ID of the policy version to restore.public Integer getPolicyVersionId()
The ID of the policy version to restore.
public RestoreCoreNetworkPolicyVersionRequest withPolicyVersionId(Integer policyVersionId)
The ID of the policy version to restore.
policyVersionId
- The ID of the policy version to restore.public String toString()
toString
in class Object
Object.toString()
public RestoreCoreNetworkPolicyVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()