public void setExpectedVersion(Long expectedVersion) {
        this.expectedVersion = expectedVersion;
    }
<p>
The expected version of the security profile. A new version is generated whenever the security profile is
updated. If you specify a value that is different from the actual version, a
<code>VersionConflictException</code> is thrown.
</p>

@param expectedVersion
       The expected version of the security profile. A new version is generated whenever the security profile is
       updated. If you specify a value that is different from the actual version, a
       <code>VersionConflictException</code> is thrown.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/UpdateSecurityProfileRequest.java